mancelery.conf 454 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

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