Skip to content

Instantly share code, notes, and snippets.

@colinsullivan
Created September 16, 2011 21:32
Show Gist options
  • Save colinsullivan/1223216 to your computer and use it in GitHub Desktop.
Save colinsullivan/1223216 to your computer and use it in GitHub Desktop.
Celery config file
# 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"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment