blob: 1337d8f923555110b31b48eb5b457f4bb5a60509 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
# The names of the workers. This example create one workers
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#"
# Log and PID directories
CELERYD_LOG_FILE="/var/log/celery/#APP_NAME#%n%I.log"
CELERYD_PID_FILE="/run/celery/#APP_NAME#%n.pid"
# Log level
CELERYD_LOG_LEVEL=INFO
# Path to celery binary, that is in your virtual environment
CELERY_BIN=#CELERY_BIN_PATH#
# to debug the service it could be necessary to uncomment the following line
# C_FAKEFORK=1
|