Made the appropriate changes to settings.py.dist
[flowspy] / init_scripts / celeryd_config
1 # Name of nodes to start, here we have a single node
2 CELERYD_NODES="w1"
3 # or we could have three nodes:
4 #CELERYD_NODES="w1 w2 w3"
5
6 # Where to chdir at start.
7 CELERYD_CHDIR="/home/leopoul/projects/flowspy/"
8 # How to call "manage.py celeryd_multi"
9 CELERYD_MULTI="$CELERYD_CHDIR/manage.py celeryd_multi"
10
11 # How to call "manage.py celeryctl"
12 CELERYCTL="$CELERYD_CHDIR/manage.py celeryctl"
13
14 # Extra arguments to celeryd
15 #CELERYD_OPTS="--time-limit=300 --concurrency=8"
16 CELERYD_OPTS="-E -B"
17 # Name of the celery config module.
18 CELERY_CONFIG_MODULE="celeryconfig"
19
20 # %n will be replaced with the nodename.
21 CELERYD_LOG_FILE="$CELERYD_CHDIR/celery_var/log/celery/%n.log"
22 CELERYD_PID_FILE="$CELERYD_CHDIR/celery_var/run/celery/%n.pid"
23
24 # Workers should run as an unprivileged user.
25 CELERYD_USER="leopoul"
26 CELERYD_GROUP="developers"
27
28 # Name of the projects settings module.
29 export DJANGO_SETTINGS_MODULE="settings"