Guest User

Untitled

a guest
Oct 24th, 2017
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.64 KB | None | 0 0
  1. ; ================================
  2. ; celery beat supervisor
  3. ; ================================
  4.  
  5. [program:celerybeat]
  6. command=/path/to/home/.virtualenvs/celery_env/bin/celery beat -A app.celery --schedule=/tmp/celerybeat-schedule --loglevel=INFO --pidfile=/tmp/celerybeat.pid
  7. directory=/path/to/home/celery-scheduler
  8.  
  9. user=root
  10. numprocs=1
  11. stdout_logfile=/var/log/celery/beat.log
  12. stderr_logfile=/var/log/celery/beat.log
  13. autostart=true
  14. autorestart=true
  15. startsecs=10
  16.  
  17. ; Causes supervisor to send the termination signal (SIGTERM) to the whole process group.
  18. stopasgroup=true
  19.  
  20. ; if rabbitmq is supervised, set its priority higher
  21. ; so it starts first
  22. priority=999
Add Comment
Please, Sign In to add comment