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:
parent
7b6cb01eda
commit
16f82777db
1 changed files with 2 additions and 0 deletions
|
@ -6,6 +6,8 @@ After=network.target mysql.service
|
||||||
User=__APP__
|
User=__APP__
|
||||||
Group=__APP__
|
Group=__APP__
|
||||||
ExecStart=/usr/bin/php __FINALPATH__/update_daemon2.php
|
ExecStart=/usr/bin/php __FINALPATH__/update_daemon2.php
|
||||||
|
Restart=always
|
||||||
|
RestartSec=10
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
|
|
Loading…
Add table
Reference in a new issue