Created
October 31, 2012 09:40
-
-
Save mapopa/3986114 to your computer and use it in GitHub Desktop.
django celery
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cat /etc/default/celeryd | |
# Name of nodes to start | |
# here we have a single node | |
CELERYD_NODES="w1" | |
# Where to chdir at start. | |
CELERYD_CHDIR="/home/mariuz/test" | |
# How to call "manage.py celeryd_multi" | |
CELERYD_MULTI="$CELERYD_CHDIR/manage.py celeryd_multi" | |
# How to call "manage.py celeryctl" | |
CELERYCTL="$CELERYD_CHDIR/manage.py celeryctl" | |
# Extra arguments to celeryd | |
CELERYD_OPTS="--time-limit=1000" | |
# 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" | |
# Workers should run as an unprivileged user. | |
CELERYD_USER="mariuz" | |
CELERYD_GROUP="mariuz" | |
# 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