mirror of
https://github.com/frappe/bench.git
synced 2024-11-11 15:51:03 +00:00
[fix] better priorities for supervisor
This commit is contained in:
parent
6744110359
commit
099e60205c
@ -4,7 +4,7 @@
|
||||
|
||||
[program:frappe-web]
|
||||
command={{ bench_dir }}/env/bin/gunicorn -b 127.0.0.1:8000 -w 2 -t {{http_timeout}} frappe.app:application
|
||||
priority=2
|
||||
priority=4
|
||||
autostart=true
|
||||
autorestart=true
|
||||
stdout_logfile={{ bench_dir }}/logs/web.log
|
||||
@ -14,7 +14,7 @@ directory={{ sites_dir }}
|
||||
|
||||
[program:frappe-worker]
|
||||
command={{ bench_dir }}/env/bin/python -m frappe.celery_app worker -n jobs@%%h --soft-time-limit 360 --time-limit 390 --loglevel INFO -Ofair
|
||||
priority=2
|
||||
priority=4
|
||||
autostart=true
|
||||
autorestart=true
|
||||
stdout_logfile={{ bench_dir }}/logs/worker.log
|
||||
@ -50,7 +50,7 @@ killasgroup=true
|
||||
|
||||
[program:frappe-workerbeat]
|
||||
command={{ bench_dir }}/env/bin/python -m frappe.celery_app beat -s beat.schedule
|
||||
priority=2
|
||||
priority=3
|
||||
autostart=true
|
||||
autorestart=true
|
||||
stdout_logfile={{ bench_dir }}/logs/workerbeat.log
|
||||
@ -85,7 +85,7 @@ directory={{ sites_dir }}
|
||||
{% if node %}
|
||||
[program:node-socketio]
|
||||
command={{ node }} {{ bench_dir }}/apps/frappe/socketio.js
|
||||
priority=2
|
||||
priority=4
|
||||
autostart=true
|
||||
autorestart=true
|
||||
stdout_logfile={{ bench_dir }}/logs/node-socketio.log
|
||||
|
Loading…
Reference in New Issue
Block a user