From 2f4db165fae50fa6839cfb5652f564aed962f93a Mon Sep 17 00:00:00 2001 From: Guba Sándor <guba.sandor@cloud.bme.hu> Date: Tue, 19 Aug 2014 11:19:44 +0200 Subject: [PATCH] slowcelery upstart script --- miscellaneous/slowcelery.conf | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 miscellaneous/slowcelery.conf diff --git a/miscellaneous/slowcelery.conf b/miscellaneous/slowcelery.conf new file mode 100644 index 0000000..431efd7 --- /dev/null +++ b/miscellaneous/slowcelery.conf @@ -0,0 +1,17 @@ +description "CIRCLE mancelery" + +start on runlevel [2345] +stop on runlevel [!2345] + +respawn +respawn limit 30 30 +setgid cloud +setuid cloud + +script + cd /home/cloud/circle/circle + . /home/cloud/.virtualenvs/circle/bin/activate + . /home/cloud/.virtualenvs/circle/bin/postactivate + exec ./manage.py celery --app=manager.slowcelery worker --autoreload --loglevel=info --hostname=slowcelery -B -c 1 +end script + -- libgit2 0.26.0