dev/hdalab/supervisor.d/celerybeat-hdalab.ini
author ymh <ymh.work@gmail.com>
Fri, 19 Jul 2024 09:38:03 +0200
changeset 704 b5835dca2624
parent 686 385e3a12ee27
permissions -rw-r--r--
Adapt renkan preview to uses chrome headless/puppeteer

[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