alex-phillips ab323f8f2d initial
2020-08-23 18:30:08 -04:00

13 lines
492 B
INI

[uwsgi]
http-socket = :8000
enable-threads
plugin = python3
module = netbox.wsgi:application
static-map = /static=static
static-gzip-dir = static/CACHE
hook-pre-app = exec:/usr/bin/python3 ./manage.py collectstatic --noinput
hook-pre-app = exec:/usr/bin/python3 ./manage.py remove_stale_contenttypes --no-input
hook-pre-app = exec:/usr/bin/python3 ./manage.py clearsessions
hook-pre-app = exec:/usr/bin/python3 ./manage.py invalidate all
attach-daemon = /usr/bin/python3 ./manage.py rqworker