address-service/rootfs/etc/services.d/gunicorn/run

10 lines
221 B
Plaintext
Executable File

#!/command/with-contenv sh
set -eu
cd /app
exec s6-setuidgid django gunicorn address.wsgi:application \
--bind 127.0.0.1:8001 \
--workers "${GUNICORN_WORKERS:-2}" \
--access-logfile - \
--error-logfile -