From 461575f1116b04f049ea7880192583bd4d588b97 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Tue, 19 Mar 2019 18:17:09 +0100 Subject: Install: fix user/permissions for celery service --- install/celeryd.default.template | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'install/celeryd.default.template') diff --git a/install/celeryd.default.template b/install/celeryd.default.template index 4220b6c35..39c97b902 100644 --- a/install/celeryd.default.template +++ b/install/celeryd.default.template @@ -2,6 +2,9 @@ CELERYD_NODES="#APP_NAME#w1" #CELERYD_NODES="#APP_NAME#w1 #APP_NAME#w2" # 2 workers +# Number of processes by worker +CELERY_PROCESS_NUMBER=2 + # The name of the Celery App, should be the same as the python file # where the Celery tasks are defined CELERY_APP="#APP_NAME#" @@ -14,4 +17,7 @@ CELERYD_PID_FILE="/var/run/celery/#APP_NAME#%n.pid" CELERYD_LOG_LEVEL=INFO # Path to celery binary, that is in your virtual environment -CELERY_BIN=/usr/local/bin/celery \ No newline at end of file +CELERY_BIN=/usr/local/bin/celery + +# to debug the service it could be necessary to uncomment the following line +# C_FAKEFORK=1 -- cgit v1.2.3