24 lines
722 B
Django/Jinja
24 lines
722 B
Django/Jinja
{{ ansible_header | comment }}
|
|
|
|
[uwsgi]
|
|
uid = www-data
|
|
gid = www-data
|
|
# Django-related settings
|
|
# the base directory (full path)
|
|
chdir = /var/local/constellation
|
|
wsgi-file = /var/local/constellation/constellation/wsgi.py
|
|
plugin = python3
|
|
# process-related settings
|
|
# master
|
|
master = true
|
|
# maximum number of worker processes
|
|
processes = 10
|
|
# the socket (use the full path to be safe
|
|
socket = /var/run/uwsgi/app/constellation/constellation.sock
|
|
# ... with appropriate permissions - may be needed
|
|
chmod-socket = 664
|
|
# clear environment on exit
|
|
vacuum = true
|
|
# Touch reload
|
|
touch-reload = /var/local/constellation/constellation/settings.py
|