16 lines
No EOL
285 B
Bash
Executable file
16 lines
No EOL
285 B
Bash
Executable file
#!/bin/sh
|
|
|
|
set -e
|
|
|
|
if [ "${COLLECT_STATIC-}" ]; then
|
|
./manage.py collectstatic --no-input
|
|
fi
|
|
|
|
exec /venv/bin/dumb-init -- gunicorn \
|
|
-b [::]:8000 \
|
|
--log-file=- \
|
|
--worker-tmp-dir /dev/shm \
|
|
--workers=2 \
|
|
--threads=4 \
|
|
--worker-class=gthread \
|
|
publichealth.wsgi |