updated the gunicorn conf files
This commit is contained in:
parent
9b73b9653d
commit
fe2090d8e9
5 changed files with 33 additions and 8 deletions
|
|
@ -6,8 +6,12 @@ raw_env = ["DJANGO_SETTINGS_MODULE={{settings_module}}"]
|
||||||
|
|
||||||
worker_tmp_dir = "/tmp"
|
worker_tmp_dir = "/tmp"
|
||||||
|
|
||||||
user = '{{user}}'
|
#
|
||||||
group = '{{group}}'
|
# uncomment only if supervisor does not set these!
|
||||||
|
# see https://stackoverflow.com/questions/53570850/djangogunicorn-operation-not-permitted
|
||||||
|
|
||||||
|
# user = '{{user}}'
|
||||||
|
# group = '{{group}}'
|
||||||
|
|
||||||
access_logfile = \
|
access_logfile = \
|
||||||
'{{logging_access}}'
|
'{{logging_access}}'
|
||||||
|
|
|
||||||
|
|
@ -6,8 +6,12 @@ raw_env = ["DJANGO_SETTINGS_MODULE={{settings_module}}"]
|
||||||
|
|
||||||
worker_tmp_dir = "/tmp"
|
worker_tmp_dir = "/tmp"
|
||||||
|
|
||||||
user = '{{user}}'
|
#
|
||||||
group = '{{group}}'
|
# 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 = \
|
access_logfile = \
|
||||||
'{{logging_access}}'
|
'{{logging_access}}'
|
||||||
|
|
|
||||||
|
|
@ -6,8 +6,12 @@ raw_env = ["DJANGO_SETTINGS_MODULE={{settings_module}}"]
|
||||||
|
|
||||||
worker_tmp_dir = "/tmp"
|
worker_tmp_dir = "/tmp"
|
||||||
|
|
||||||
user = '{{user}}'
|
#
|
||||||
group = '{{group}}'
|
# uncomment only if supervisor does not set these!
|
||||||
|
# see https://stackoverflow.com/questions/53570850/djangogunicorn-operation-not-permitted
|
||||||
|
|
||||||
|
# user = '{{user}}'
|
||||||
|
# group = '{{group}}'
|
||||||
|
|
||||||
access_logfile = \
|
access_logfile = \
|
||||||
'{{logging_access}}'
|
'{{logging_access}}'
|
||||||
|
|
|
||||||
|
|
@ -6,8 +6,12 @@ raw_env = ["DJANGO_SETTINGS_MODULE={{settings_module}}"]
|
||||||
|
|
||||||
worker_tmp_dir = "/tmp"
|
worker_tmp_dir = "/tmp"
|
||||||
|
|
||||||
user = '{{user}}'
|
#
|
||||||
group = '{{group}}'
|
# 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 = \
|
access_logfile = \
|
||||||
'{{logging_access}}'
|
'{{logging_access}}'
|
||||||
|
|
|
||||||
9
share/templates/readmes/gunicorn_error.md
Normal file
9
share/templates/readmes/gunicorn_error.md
Normal file
|
|
@ -0,0 +1,9 @@
|
||||||
|
|
||||||
|
## important gunicorn error
|
||||||
|
|
||||||
|
https://stackoverflow.com/questions/53570850/djangogunicorn-operation-not-permitted;
|
||||||
|
|
||||||
|
the problem is that if supervisor sets both user and group, and then gunicvorn does it, you can
|
||||||
|
get a blow up.
|
||||||
|
|
||||||
|
so comment it out in one conf or the other
|
||||||
Loading…
Add table
Reference in a new issue