forked from reimandlab/ActiveDriverDB
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathceleryd
27 lines (19 loc) · 774 Bytes
/
celeryd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#CELERYD_LOG_LEVEL="DEBUG"
# Increase if needed
CELERYD_NODES=1
# Please modify following line to use absolute path to celery executable
CELERY_BIN="~/virtual_environment/bin/celery"
# App instance to use
CELERY_APP="celery_worker.celery"
# Please modify following line to use absolute path to website directory
CELERYD_CHDIR="~/ActiveDriverDB/website"
# Extra command-line arguments to the worker
CELERYD_OPTS="--time-limit=5000 --concurrency=8"
# %n will be replaced with the first part of the node name
CELERYD_LOG_FILE="/var/log/celery/%n%I.log"
CELERYD_PID_FILE="/var/run/celery/%n.pid"
# Workers should run as an unprivileged user
CELERYD_USER="celery"
CELERYD_GROUP="celery"
# If enabled pid and log directories will be created if missing
CELERY_CREATE_DIRS=1