22 lines
444 B
Text
22 lines
444 B
Text
|
|
# 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}}'
|
||
|
|
|