Skip to content

Instantly share code, notes, and snippets.

@adamn
Created November 16, 2010 21:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save adamn/702593 to your computer and use it in GitHub Desktop.
Save adamn/702593 to your computer and use it in GitHub Desktop.
Example celeryd config file located at /etc/default/celeryd
# This file should be named /etc/default/celeryd and is used by:
# /etc/init.d/celeryd
# http://celeryq.org/
# Where the Django project is.
CELERYD_CHDIR="/var/www/example-env/project-name/"
CELERYD_OPTS="-c 6"
# Name of the projects settings module.
DJANGO_SETTINGS_MODULE="settings.active"
# Path to celeryd
CELERYD="/var/www/example-env/bin/python /var/www/example-env/project-name/manage.py celeryd"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment