moncelery.conf 444 Bytes
Newer Older
Guba Sándor committed
1
description     "CIRCLE moncelery for monitoring jobs"
Guba Sándor committed
2 3 4

respawn
respawn limit 30 30
5

6

Guba Sándor committed
7 8 9 10 11 12 13
setgid cloud
setuid cloud

script
    cd /home/cloud/circle/circle
    . /home/cloud/.virtualenvs/circle/bin/activate
    . /home/cloud/.virtualenvs/circle/bin/postactivate
14 15
    ./manage.py celery -f --app=manager.moncelery purge
    exec ./manage.py celery --app=manager.moncelery worker --autoreload --loglevel=info --hostname=moncelery -B -c 2
Guba Sándor committed
16
end script
17