ogn-python/deployment/supervisor/celerybeatd.conf

15 wiersze
435 B
Plaintext
Czysty Zwykły widok Historia

2019-09-01 10:14:41 +00:00
[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
2019-09-01 10:14:41 +00:00
user=pi
2019-09-01 10:14:41 +00:00
numprocs=1
stdout_logfile=/var/log/supervisor/celery_beat.log
stderr_logfile=/var/log/supervisor/celery_beat.log
2019-09-01 10:14:41 +00:00
autostart=true
autorestart=true
startsecs=10
; Causes supervisor to send the termination signal (SIGTERM) to the whole process group.
stopasgroup=true