Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Name of nodes to start, here we have a single node
- CELERYD_NODES="w1"
- # or we could have three nodes:
- #CELERYD_NODES="w1 w2 w3"
- # Where to chdir at start.
- CELERYD_CHDIR="/mnt/hgfs/Concert/concertapp/"
- # How to call "manage.py celeryd_multi"
- CELERYD_MULTI="$CELERYD_CHDIR/manage.py celeryd_multi"
- # Extra arguments to celeryd
- #CELERYD_OPTS="--time-limit=300 --concurrency=2"
- # Name of the celery config module.
- #CELERY_CONFIG_MODULE="celeryconfig"
- # %n will be replaced with the nodename.
- CELERYD_LOG_FILE="/var/log/celery/%n.log"
- CELERYD_PID_FILE="/var/run/celery/%n.pid"
- CELERY_LOG_LEVEL="INFO"
- # Workers should run as an unprivileged user.
- CELERYD_USER="celery"
- CELERYD_GROUP="celery"
- # Name of the projects settings module.
- export DJANGO_SETTINGS_MODULE="settings"
Add Comment
Please, Sign In to add comment