diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2019-03-19 18:17:09 +0100 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2019-06-17 13:21:27 +0200 |
commit | 461575f1116b04f049ea7880192583bd4d588b97 (patch) | |
tree | f2baae52efb17a5ba663d4691837c2ca0d70ce10 /install/celeryd.default.template | |
parent | 09f189e628fbadec4665d8b1313fe07e02616d61 (diff) | |
download | Ishtar-461575f1116b04f049ea7880192583bd4d588b97.tar.bz2 Ishtar-461575f1116b04f049ea7880192583bd4d588b97.zip |
Install: fix user/permissions for celery service
Diffstat (limited to 'install/celeryd.default.template')
-rw-r--r-- | install/celeryd.default.template | 8 |
1 files changed, 7 insertions, 1 deletions
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 |