Add basic login.
[wolnelektury.git] / wolnelektury-celery.conf.template
1 ; =========================================
2 ; WolneLektury-Celeryd conf for supervisord
3 ; Put this in /etc/supervisor/conf.d
4 ; =========================================
5
6 [program:celery.%(project_name)s]
7 command=%(path)s/ve/bin/celery -A wolnelektury worker -l info
8 directory=%(path)s/releases/current/
9 user=%(user)s
10 numprocs=2
11 process_name=wolnelektury-celery-%%(process_num)d
12 stdout_logfile=%(path)s/celeryd.log
13 stderr_logfile=%(path)s/celeryd.log
14 autostart=true
15 autorestart=true
16 startsecs=10
17
18 ; Need to wait for currently executing tasks to finish at shutdown.
19 ; Increase this if you have very long running tasks.
20 stopwaitsecs = 600
21
22 ; if rabbitmq is supervised, set its priority higher
23 ; so it starts first
24 priority=998