Restart the systemd service in case of a crash (#830)

This commit is contained in:
Костадин Дамянов
2023-01-26 16:10:13 +02:00
committed by GitHub
parent bcd5188ac5
commit d33e3a2882
2 changed files with 8 additions and 0 deletions
+4
View File
@@ -1,8 +1,12 @@
[Unit]
Description=@PROJECT_DESCRIPTION@
StartLimitIntervalSec=500
StartLimitBurst=5
[Service]
ExecStart=@SUNSHINE_EXECUTABLE_PATH@
Restart=on-failure
RestartSec=5s
[Install]
WantedBy=graphical-session.target