api-sandbox/usr/etc/django/files/gunicorn.unixsocket.jinja2
2025-04-22 18:06:11 +03:00

21 lines
444 B
Django/Jinja

# gunicorn script file
bind = 'unix:/tmp/gunicorn.{{ extended_name }}.sock'
raw_env = ["DJANGO_SETTINGS_MODULE={{settings_module}}"]
worker_tmp_dir = "/tmp"
#
# uncomment only if supervisor does not already set these!
# see https://stackoverflow.com/questions/53570850/djangogunicorn-operation-not-permitted
# user = '{{user}}'
# group = '{{group}}'
access_logfile = \
'{{logging_access}}'
error_logfile = \
'{{logging_error}}'