dev/hdalab/supervisor.d/celerybeat-hdalab.ini
author ymh <ymh.work@gmail.com>
Fri, 16 Mar 2018 18:54:11 +0100
changeset 691 8454f9cda0ca
parent 686 385e3a12ee27
permissions -rw-r--r--
Small corrections in prject setup file.

[program:celerybeat-hdalab]
; Set full path to celery program if using virtualenv
command=/usr/local/bin/celery beat -A hdalab --schedule /var/lib/hdalab/celery/beat.db --loglevel=INFO

; remove the -A myapp argument if you are not using an app instance

directory=/var/lib/hdalab
user=www
numprocs=1
stdout_logfile=/var/log/hdalab/celery/hdalab-beat.log
stderr_logfile=/var/log/hdalab/celery/hdalab-beat.log
autostart=true
autorestart=true
startsecs=10

; if rabbitmq is supervised, set its priority higher
; so it starts first
priority=999