22 lines
677 B
Plaintext
22 lines
677 B
Plaintext
; ================================
|
|
; celery beat supervisor
|
|
; ================================
|
|
|
|
[program:celerybeat]
|
|
command=python -m celery -A arches_proj.celery beat --schedule=/tmp/celerybeat-schedule --loglevel=INFO --pidfile=/tmp/celerybeat.pid
|
|
directory=/arches_app/arches_proj
|
|
|
|
user=root
|
|
numprocs=1
|
|
stdout_logfile=/var/log/celery/beat.log
|
|
stderr_logfile=/var/log/celery/beat.log
|
|
autostart=true
|
|
autorestart=true
|
|
startsecs=10
|
|
|
|
; Causes supervisor to send the termination signal (SIGTERM) to the whole process group.
|
|
stopasgroup=true
|
|
|
|
; if rabbitmq is supervised, set its priority higher
|
|
; so it starts first
|
|
priority=999 |