2018-06-30 16:13:53 +00:00
|
|
|
[Unit]
|
|
|
|
Description=Start WebODM Celery Scheduler Service Container
|
2018-09-08 22:25:50 +00:00
|
|
|
Requires=webodm-gunicorn.service
|
|
|
|
After=webodm-gunicorn.service
|
2018-06-30 16:13:53 +00:00
|
|
|
|
|
|
|
[Service]
|
|
|
|
Type=simple
|
|
|
|
User=odm
|
|
|
|
Group=odm
|
|
|
|
PIDFile=/run/webodm-celerybeat.pid
|
|
|
|
WorkingDirectory=/webodm
|
2018-11-03 18:36:34 +00:00
|
|
|
ExecStart=/webodm/python3-venv/bin/celery -A worker beat --pidfile=
|
2018-06-30 16:13:53 +00:00
|
|
|
ExecStop=/bin/kill -s QUIT $MAINPID
|
|
|
|
Restart=on-failure
|
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|