ogn-python/deployment/supervisor/celerybeatd.conf

15 wiersze
435 B
Plaintext

[program:celerybeat]
environment=OGN_CONFIG_MODULE='config/default.py'
command=/home/pi/venv/bin/celery -A app.collect beat -l info
directory=/home/pi/ogn-python
user=pi
numprocs=1
stdout_logfile=/var/log/supervisor/celery_beat.log
stderr_logfile=/var/log/supervisor/celery_beat.log
autostart=true
autorestart=true
startsecs=10
; Causes supervisor to send the termination signal (SIGTERM) to the whole process group.
stopasgroup=true