1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/mygpo_ynh.git synced 2024-09-03 19:55:52 +02:00
mygpo_ynh/conf/systemd-beat.service

19 lines
480 B
SYSTEMD
Raw Normal View History

2021-03-15 01:36:28 +01:00
[Unit]
Description=GPodder-beat
After=network.target postgresql.service redis.service __APP__.scoket
2021-03-15 01:36:28 +01:00
[Service]
User=__APP__
Group=__APP__
2024-03-04 20:50:00 +01:00
WorkingDirectory=__INSTALL_DIR__/sources/
2021-03-15 01:36:28 +01:00
2024-03-04 12:04:56 +01:00
ExecStart=__INSTALL_DIR__/venv/bin/envdir __INSTALL_DIR__/envs/prod __INSTALL_DIR__/venv/bin/celery -A __APP__ beat --pidfile /tmp/celerybeat.pid -S django
2021-03-15 01:36:28 +01:00
ExecReload=/bin/kill -s HUP $MAINPID
Restart=on-failure
KillMode=mixed
TimeoutStopSec=5
PrivateTmp=true
[Install]
2024-03-04 16:10:35 +01:00
WantedBy=multi-user.target