slowcelery.conf 604 Bytes
Newer Older
1
description     "CIRCLE slowcelery for resource intensive or long  jobs"
Guba Sándor committed
2 3 4

respawn
respawn limit 30 30
5

Guba Sándor committed
6 7 8
setgid cloud
setuid cloud

9 10 11 12
kill timeout 360                                                                                      
kill signal INT 
                                          

Guba Sándor committed
13 14 15 16
script
    cd /home/cloud/circle/circle
    . /home/cloud/.virtualenvs/circle/bin/activate
    . /home/cloud/.virtualenvs/circle/bin/postactivate
17 18
    celery -f --app=manager.slowcelery purge
    exec celery --app=manager.slowcelery worker --autoreload --loglevel=info --hostname=slowcelery -B -c 1
Guba Sándor committed
19
end script
20