celeryd.conf 738 B

1234567891011121314151617181920212223242526272829
  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. ; 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. ; if rabbitmq is supervised, set its priority higher
  22. ; so it starts first
  23. priority=998