mirror of
https://github.com/frappe/bench.git
synced 2024-11-11 15:51:03 +00:00
[fix] supervisor.conf should use the stop signal TERM instead of QUIT
This commit is contained in:
parent
77373d955b
commit
cb5295b387
@ -2,7 +2,6 @@
|
||||
command={{ bench_dir }}/env/bin/gunicorn -b 127.0.0.1:8000 -w 2 -t {{http_timeout}} frappe.app:application
|
||||
autostart=true
|
||||
autorestart=true
|
||||
stopsignal=QUIT
|
||||
stdout_logfile={{ bench_dir }}/logs/web.log
|
||||
stderr_logfile={{ bench_dir }}/logs/web.error.log
|
||||
user={{ user }}
|
||||
@ -12,17 +11,15 @@ directory={{ sites_dir }}
|
||||
command={{ bench_dir }}/env/bin/python -m frappe.celery_app worker
|
||||
autostart=true
|
||||
autorestart=true
|
||||
stopsignal=QUIT
|
||||
stdout_logfile={{ bench_dir }}/logs/worker.log
|
||||
stderr_logfile={{ bench_dir }}/logs/worker.error.log
|
||||
user={{ user }}
|
||||
directory={{ sites_dir }}
|
||||
|
||||
[program:frappe-workerbeat]
|
||||
command={{ bench_dir }}/env/bin/python -m frappe.celery_app beat -s test.schedule
|
||||
command={{ bench_dir }}/env/bin/python -m frappe.celery_app beat -s beat.schedule
|
||||
autostart=true
|
||||
autorestart=true
|
||||
stopsignal=QUIT
|
||||
stdout_logfile={{ bench_dir }}/logs/workerbeat.log
|
||||
stderr_logfile={{ bench_dir }}/logs/workerbeat.error.log
|
||||
user={{ user }}
|
||||
@ -34,7 +31,6 @@ directory={{ sites_dir }}
|
||||
command={{ redis_server }} {{ redis_cache_config }}
|
||||
autostart=true
|
||||
autorestart=true
|
||||
stopsignal=QUIT
|
||||
stdout_logfile={{ bench_dir }}/logs/redis-cache.log
|
||||
stderr_logfile={{ bench_dir }}/logs/redis-cache.error.log
|
||||
user={{ user }}
|
||||
@ -46,7 +42,6 @@ directory={{ sites_dir }}
|
||||
command={{ redis_server }} {{ redis_async_broker_config }}
|
||||
autostart=true
|
||||
autorestart=true
|
||||
stopsignal=QUIT
|
||||
stdout_logfile={{ bench_dir }}/logs/redis-async-broker.log
|
||||
stderr_logfile={{ bench_dir }}/logs/redis-async-broker.error.log
|
||||
user={{ user }}
|
||||
@ -57,7 +52,6 @@ directory={{ sites_dir }}
|
||||
command={{ node }} {{ bench_dir }}/apps/frappe/socketio.js
|
||||
autostart=true
|
||||
autorestart=true
|
||||
stopsignal=QUIT
|
||||
stdout_logfile={{ bench_dir }}/logs/node-socketio.log
|
||||
stderr_logfile={{ bench_dir }}/logs/node-socketio.error.log
|
||||
user={{ user }}
|
||||
|
Loading…
Reference in New Issue
Block a user