1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/ttrss_ynh.git synced 2024-10-01 13:34:46 +02:00

Configure systemd to auto-restart the service

This commit is contained in:
Jimmy Monin 2018-06-01 19:08:14 +02:00
parent 7b6cb01eda
commit 16f82777db

View file

@ -6,6 +6,8 @@ After=network.target mysql.service
User=__APP__
Group=__APP__
ExecStart=/usr/bin/php __FINALPATH__/update_daemon2.php
Restart=always
RestartSec=10
[Install]
WantedBy=multi-user.target