mirror of
https://github.com/frappe/bench.git
synced 2025-01-25 07:58:24 +00:00
33 lines
971 B
Plaintext
33 lines
971 B
Plaintext
[program:frappe-web]
|
|
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 }}
|
|
directory={{ sites_dir }}
|
|
|
|
[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
|