celeryd.conf 597 B

12345678910111213141516171819202122232425
  1. ; ============================
  2. ; celeryd supervisor example
  3. ; ============================
  4. ; NOTE: If you're using Django, you shouldn't use this file.
  5. ; Use django/celeryd.conf instead!
  6. [program:celery]
  7. command=celeryd --loglevel=INFO
  8. ; Set PYTHONPATH to the directory containing celeryconfig.py
  9. environment=PYTHONPATH=/path/to/project
  10. directory=/path/to/project
  11. user=nobody
  12. numprocs=1
  13. stdout_logfile=/var/log/celeryd.log
  14. stderr_logfile=/var/log/celeryd.log
  15. autostart=true
  16. autorestart=true
  17. startsecs=10
  18. ; if rabbitmq is supervised, set its priority higher
  19. ; so it starts first
  20. priority=998