2
0
mirror of https://github.com/frappe/bench.git synced 2024-11-11 15:51:03 +00:00

[fix] procfile

This commit is contained in:
Anand Doshi 2016-02-09 18:28:55 +05:30
parent 099e60205c
commit d8a4c303eb

View File

@ -120,8 +120,8 @@ def setup_procfile(with_celery_broker=False, with_watch=False, bench='.'):
procfile_contents = {
'web': "./env/bin/frappe --serve --sites_path sites",
'worker': "sh -c 'cd sites && exec ../env/bin/python -m frappe.celery_app worker'",
'longjob_worker': "sh -c 'cd sites && exec ../env/bin/python -m frappe.celery_app -n longjobs@%%h worker'",
'async_worker': "sh -c 'cd sites && exec ../env/bin/python -m frappe.celery_app -n async@%%h worker'",
'longjob_worker': "sh -c 'cd sites && exec ../env/bin/python -m frappe.celery_app -n longjobs@%h worker'",
'async_worker': "sh -c 'cd sites && exec ../env/bin/python -m frappe.celery_app -n async@%h worker'",
'workerbeat': "sh -c 'cd sites && exec ../env/bin/python -m frappe.celery_app beat -s scheduler.schedule'"
}
if frappe_version > 4: