11 lines
322 B
INI
11 lines
322 B
INI
|
[uwsgi]
|
||
|
socket = /tmp/uwsgi.sock
|
||
|
chown-socket = nginx:nginx
|
||
|
chmod-socket = 664
|
||
|
# Graceful shutdown on SIGTERM, see https://github.com/unbit/uwsgi/issues/849#issuecomment-118869386
|
||
|
hook-master-start = unix_signal:15 gracefully_kill_them_all
|
||
|
need-app = true
|
||
|
die-on-term = true
|
||
|
# For debugging and testing
|
||
|
show-config = true
|