Permalink
Fetching contributors…
Cannot retrieve contributors at this time
32 lines (25 sloc) 803 Bytes
; ============================
; celeryd supervisor example
; ============================
; NOTE: If you're using Django, you shouldn't use this file.
; Use
; http://github.com/ask/django-celery/tree/master/contrib/supervisord/celeryd.conf
; instead!
[program:celery]
command=celeryd --loglevel=INFO
; Set PYTHONPATH to the directory containing celeryconfig.py
environment=PYTHONPATH=/path/to/project
directory=/path/to/project
user=nobody
numprocs=1
stdout_logfile=/var/log/celeryd.log
stderr_logfile=/var/log/celeryd.log
autostart=true
autorestart=true
startsecs=10
; Need to wait for currently executing tasks to finish at shutdown.
; Increase this if you have very long running tasks.
stopwaitsecs = 600
; if rabbitmq is supervised, set its priority higher
; so it starts first
priority=998