mancelery.conf 477 Bytes
Newer Older
Guba Sándor committed
1
description     "CIRCLE mancelery for common jobs"
2 3 4

respawn
respawn limit 30 30
5

6
setgid cloud
7 8
setuid cloud

9 10 11
kill timeout 360
kill signal SIGTERM

12
script
13 14 15
    cd /home/cloud/circle/circle
    . /home/cloud/.virtualenvs/circle/bin/activate
    . /home/cloud/.virtualenvs/circle/bin/postactivate
16 17
    ./manage.py celery -f --app=manager.mancelery purge
    exec ./manage.py celery --app=manager.mancelery worker --autoreload --loglevel=info --hostname=mancelery -B -c 3
18
end script
19