mirror of
https://github.com/frappe/bench.git
synced 2025-01-10 09:02:10 +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
|
command={{ bench_dir }}/env/bin/gunicorn -b 127.0.0.1:8000 -w 2 -t {{http_timeout}} frappe.app:application
|
||||||
autostart=true
|
autostart=true
|
||||||
autorestart=true
|
autorestart=true
|
||||||
stopsignal=QUIT
|
|
||||||
stdout_logfile={{ bench_dir }}/logs/web.log
|
stdout_logfile={{ bench_dir }}/logs/web.log
|
||||||
stderr_logfile={{ bench_dir }}/logs/web.error.log
|
stderr_logfile={{ bench_dir }}/logs/web.error.log
|
||||||
user={{ user }}
|
user={{ user }}
|
||||||
@ -12,17 +11,15 @@ directory={{ sites_dir }}
|
|||||||
command={{ bench_dir }}/env/bin/python -m frappe.celery_app worker
|
command={{ bench_dir }}/env/bin/python -m frappe.celery_app worker
|
||||||
autostart=true
|
autostart=true
|
||||||
autorestart=true
|
autorestart=true
|
||||||
stopsignal=QUIT
|
|
||||||
stdout_logfile={{ bench_dir }}/logs/worker.log
|
stdout_logfile={{ bench_dir }}/logs/worker.log
|
||||||
stderr_logfile={{ bench_dir }}/logs/worker.error.log
|
stderr_logfile={{ bench_dir }}/logs/worker.error.log
|
||||||
user={{ user }}
|
user={{ user }}
|
||||||
directory={{ sites_dir }}
|
directory={{ sites_dir }}
|
||||||
|
|
||||||
[program:frappe-workerbeat]
|
[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
|
autostart=true
|
||||||
autorestart=true
|
autorestart=true
|
||||||
stopsignal=QUIT
|
|
||||||
stdout_logfile={{ bench_dir }}/logs/workerbeat.log
|
stdout_logfile={{ bench_dir }}/logs/workerbeat.log
|
||||||
stderr_logfile={{ bench_dir }}/logs/workerbeat.error.log
|
stderr_logfile={{ bench_dir }}/logs/workerbeat.error.log
|
||||||
user={{ user }}
|
user={{ user }}
|
||||||
@ -34,7 +31,6 @@ directory={{ sites_dir }}
|
|||||||
command={{ redis_server }} {{ redis_cache_config }}
|
command={{ redis_server }} {{ redis_cache_config }}
|
||||||
autostart=true
|
autostart=true
|
||||||
autorestart=true
|
autorestart=true
|
||||||
stopsignal=QUIT
|
|
||||||
stdout_logfile={{ bench_dir }}/logs/redis-cache.log
|
stdout_logfile={{ bench_dir }}/logs/redis-cache.log
|
||||||
stderr_logfile={{ bench_dir }}/logs/redis-cache.error.log
|
stderr_logfile={{ bench_dir }}/logs/redis-cache.error.log
|
||||||
user={{ user }}
|
user={{ user }}
|
||||||
@ -46,7 +42,6 @@ directory={{ sites_dir }}
|
|||||||
command={{ redis_server }} {{ redis_async_broker_config }}
|
command={{ redis_server }} {{ redis_async_broker_config }}
|
||||||
autostart=true
|
autostart=true
|
||||||
autorestart=true
|
autorestart=true
|
||||||
stopsignal=QUIT
|
|
||||||
stdout_logfile={{ bench_dir }}/logs/redis-async-broker.log
|
stdout_logfile={{ bench_dir }}/logs/redis-async-broker.log
|
||||||
stderr_logfile={{ bench_dir }}/logs/redis-async-broker.error.log
|
stderr_logfile={{ bench_dir }}/logs/redis-async-broker.error.log
|
||||||
user={{ user }}
|
user={{ user }}
|
||||||
@ -57,7 +52,6 @@ directory={{ sites_dir }}
|
|||||||
command={{ node }} {{ bench_dir }}/apps/frappe/socketio.js
|
command={{ node }} {{ bench_dir }}/apps/frappe/socketio.js
|
||||||
autostart=true
|
autostart=true
|
||||||
autorestart=true
|
autorestart=true
|
||||||
stopsignal=QUIT
|
|
||||||
stdout_logfile={{ bench_dir }}/logs/node-socketio.log
|
stdout_logfile={{ bench_dir }}/logs/node-socketio.log
|
||||||
stderr_logfile={{ bench_dir }}/logs/node-socketio.error.log
|
stderr_logfile={{ bench_dir }}/logs/node-socketio.error.log
|
||||||
user={{ user }}
|
user={{ user }}
|
||||||
|
Loading…
Reference in New Issue
Block a user