celeryd.conf 598 B

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