Created
March 19, 2012 10:06
-
-
Save level09/2106213 to your computer and use it in GitHub Desktop.
Django Celery Upstart Conf Script
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
description "Celery for ReadTheDocs" | |
start on runlevel [2345] | |
stop on runlevel [!2345] | |
#Send KILL after 20 seconds | |
kill timeout 20 | |
script | |
chdir /home/ubuntu/playground/tw | |
exec bin/python manage.py celeryd -B -c 4 -f /home/ubuntu/log/celery.log | |
end script | |
respawn |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment