update librarian
[redakcja.git] / redakcja-celery.conf
1 ; =======================================
2 ; celeryd supervisor example for Django
3 ; =======================================
4
5 [program:celery]
6 command=$APP_DIR/redakcja/manage.py celeryd --loglevel=INFO
7 directory=$APP_DIR/redakcja
8 user=nobody
9 numprocs=2
10 stdout_logfile=$APP_DIR/log/celeryd.log
11 stderr_logfile=$APP_DIR/log/celeryd.log
12 autostart=true
13 autorestart=true
14 startsecs=10
15
16 ; Need to wait for currently executing tasks to finish at shutdown.
17 ; Increase this if you have very long running tasks.
18 stopwaitsecs = 600
19
20 ; if rabbitmq is supervised, set its priority higher
21 ; so it starts first
22 priority=998