2019-09-01 10:14:41 +00:00
|
|
|
[program:celerybeat]
|
2019-09-21 14:49:27 +00:00
|
|
|
command=/home/pi/ogn-python/venv/bin/celery -A celery_worker.celery beat -l info
|
2019-09-11 06:25:08 +00:00
|
|
|
directory=/home/pi/ogn-python
|
2019-09-21 14:49:27 +00:00
|
|
|
environment=FLASK_APP=ogn_python.py
|
2019-09-01 10:14:41 +00:00
|
|
|
|
2019-09-11 06:25:08 +00:00
|
|
|
user=pi
|
2019-09-01 10:14:41 +00:00
|
|
|
numprocs=1
|
2019-09-11 06:25:08 +00:00
|
|
|
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.
|
2019-09-21 14:49:27 +00:00
|
|
|
stopasgroup=true
|