diff --git a/miscellaneous/moncelery.conf b/miscellaneous/moncelery.conf new file mode 100644 index 0000000..68952c4 --- /dev/null +++ b/miscellaneous/moncelery.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.moncelery worker --autoreload --loglevel=info --hostname=moncelery -B -c 2 +end script +