Skip to content

Instantly share code, notes, and snippets.

@mattlong
Created April 19, 2013 22:37
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 mattlong/5423698 to your computer and use it in GitHub Desktop.
Save mattlong/5423698 to your computer and use it in GitHub Desktop.
description "django-celery daemon"
start on runlevel [2345]
stop on runlevel [!2345]
respawn
chdir /path/to/my/django-project
exec /usr/bin/python manage.py celery worker --loglevel=info > /var/log/celery.log 2>&1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment