2
0
mirror of https://github.com/frappe/bench.git synced 2025-01-26 16:08:23 +00:00
bench/bench/templates/supervisor.conf

33 lines
971 B
Plaintext
Raw Normal View History

2014-07-10 22:51:34 +05:30
[program:frappe-web]
2014-09-04 15:35:23 +05:30
command={{ bench_dir }}/env/bin/gunicorn -b 127.0.0.1:8000 -w 2 -t {{http_timeout}} frappe.app:application
2014-07-10 22:51:34 +05:30
autostart=true
autorestart=true
stopsignal=QUIT
stdout_logfile={{ bench_dir }}/logs/web.log
stderr_logfile={{ bench_dir }}/logs/web.error.log
user={{ user }}
2014-08-22 18:56:15 +05:30
directory={{ sites_dir }}
2014-07-10 22:51:34 +05:30
[program:frappe-worker]
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
autostart=true
autorestart=true
stopsignal=QUIT
stdout_logfile={{ bench_dir }}/logs/workerbeat.log
stderr_logfile={{ bench_dir }}/logs/workerbeat.error.log
user={{ user }}
directory={{ sites_dir }}
[group:frappe]
programs=frappe-web,frappe-worker,frappe-workerbeat