mancelery.conf 447 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13
description     "IK Cloud Django Development Server"

start on runlevel [2345]
stop on runlevel [!2345]

respawn
respawn limit 30 30
setuid cloud

chdir /home/cloud/circle/circle

script
    . /home/cloud/.virtualenvs/circle/local/bin/postactivate
14
    exec /home/cloud/.virtualenvs/circle/bin/python manage.py celery --app=manager.mancelery worker --autoreload --loglevel=info --hostname=mancelery -B -c 1 --logfile /tmp/mancelery.log
15 16
end script