12345678910111213141516171819202122232425 |
- ; ============================
- ; celeryd supervisor example
- ; ============================
- ; NOTE: If you're using Django, you shouldn't use this file.
- ; Use django/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
- ; if rabbitmq is supervised, set its priority higher
- ; so it starts first
- priority=998
|