2025.12.26 20:11:31 (cachyos.cmoser.eu)

This commit is contained in:
2025-12-26 20:11:31 +01:00
parent c7b42d32bd
commit adf0596228
2 changed files with 7 additions and 3 deletions

View File

@@ -4,7 +4,7 @@ dynamic=["version","description","readme"]
authors = [ authors = [
{name = "Christian Moser",email = "christian@cmoser.eu"} {name = "Christian Moser",email = "christian@cmoser.eu"}
] ]
requires-python = ">=3.12,<3.14" requires-python = ">=3.11,<3.14"
dependencies = [ dependencies = [
"django (>=5.2.4,<6.0.0)", "django (>=5.2.4,<6.0.0)",
"django-extensions (>=4.1,<5.0)", "django-extensions (>=4.1,<5.0)",

View File

@@ -1,7 +1,10 @@
#!/bin/bash #!/bin/bash
: ${UWSGI_BUFFER_SIZE:=32768} : ${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_SOCKET:=/data/run/${UWSGI_SOCKET_NAME}}
: ${UWSGI_PIDFILE_NAME:=uwsgi.pid} : ${UWSGI_PIDFILE_NAME:=uwsgi.pid}
: ${UWSGI_PIDFILE:=/data/run/${UWSGI_SOCKET_NAME}} : ${UWSGI_PIDFILE:=/data/run/${UWSGI_SOCKET_NAME}}
@@ -49,7 +52,8 @@ if [ $# -eq 0 -o "$1" = "start" ]; then
--buffer-size $UWSGI_BUFFER_SIZE \ --buffer-size $UWSGI_BUFFER_SIZE \
--vacuum \ --vacuum \
--venv "$venv" \ --venv "$venv" \
--home "$venv" --home "$venv" \
--logto "$UWSGI_LOG"
rc=$? rc=$?
if [ $rc -ne 0 ]; then if [ $rc -ne 0 ]; then
echo "UWSGI Server not started" >&2 echo "UWSGI Server not started" >&2