mirror of
https://git.cmoser.eu/tinytools/django-tinywiki.git
synced 2026-02-04 06:06:33 +01:00
2025.12.26 20:11:31 (cachyos.cmoser.eu)
This commit is contained in:
@@ -4,7 +4,7 @@ dynamic=["version","description","readme"]
|
||||
authors = [
|
||||
{name = "Christian Moser",email = "christian@cmoser.eu"}
|
||||
]
|
||||
requires-python = ">=3.12,<3.14"
|
||||
requires-python = ">=3.11,<3.14"
|
||||
dependencies = [
|
||||
"django (>=5.2.4,<6.0.0)",
|
||||
"django-extensions (>=4.1,<5.0)",
|
||||
|
||||
@@ -1,7 +1,10 @@
|
||||
#!/bin/bash
|
||||
|
||||
: ${UWSGI_BUFFER_SIZE:=32768}
|
||||
: ${UWSGI_SOCKET_NAME:=uwsgi.sock}
|
||||
: ${UWSGI_NAME:=uwsgi}
|
||||
: ${UWSGI_SOCKET_NAME:=${UWSGI_NAME}.sock}
|
||||
: ${UWSGI_LOG_NAME:=${UWSGI_NAME}.log}
|
||||
: ${UWSGI_LOG:=/data/run/${UWSGI_LOG_NAME}}
|
||||
: ${UWSGI_SOCKET:=/data/run/${UWSGI_SOCKET_NAME}}
|
||||
: ${UWSGI_PIDFILE_NAME:=uwsgi.pid}
|
||||
: ${UWSGI_PIDFILE:=/data/run/${UWSGI_SOCKET_NAME}}
|
||||
@@ -49,7 +52,8 @@ if [ $# -eq 0 -o "$1" = "start" ]; then
|
||||
--buffer-size $UWSGI_BUFFER_SIZE \
|
||||
--vacuum \
|
||||
--venv "$venv" \
|
||||
--home "$venv"
|
||||
--home "$venv" \
|
||||
--logto "$UWSGI_LOG"
|
||||
rc=$?
|
||||
if [ $rc -ne 0 ]; then
|
||||
echo "UWSGI Server not started" >&2
|
||||
|
||||
Reference in New Issue
Block a user