From 5e9c66856625bfd5753cc3a804be38b00f3b6459 Mon Sep 17 00:00:00 2001 From: DaanSelen Date: Mon, 9 Feb 2026 15:39:45 +0100 Subject: [PATCH] chore: make the service always restart --- install.sh | 4 ++-- service-files/presentation.service | 2 +- service-files/video.service | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/install.sh b/install.sh index b2c709c..3157b87 100644 --- a/install.sh +++ b/install.sh @@ -38,7 +38,7 @@ Environment=DISPLAY=:0 WorkingDirectory=/opt/raspscreen ExecStart=/opt/raspscreen/bin/manage.sh start presentation --foreground KillSignal=SIGKILL -Restart=on-failure +Restart=always RestartSec=2 [Install] @@ -58,7 +58,7 @@ Environment=DISPLAY=:0 Environment=QT_QPA_PLATFORM=xcb WorkingDirectory=/opt/raspscreen ExecStart=/opt/raspscreen/bin/manage.sh start video --foreground -Restart=on-failure +Restart=always RestartSec=2 [Install] diff --git a/service-files/presentation.service b/service-files/presentation.service index e676bb6..9c44dcf 100644 --- a/service-files/presentation.service +++ b/service-files/presentation.service @@ -9,7 +9,7 @@ Environment=DISPLAY=:0 WorkingDirectory=/opt/raspscreen ExecStart=/opt/raspscreen/bin/manage.sh start presentation --foreground KillSignal=SIGKILL -Restart=on-failure +Restart=always RestartSec=2 [Install] diff --git a/service-files/video.service b/service-files/video.service index bc80510..46b9492 100644 --- a/service-files/video.service +++ b/service-files/video.service @@ -9,7 +9,7 @@ Environment=DISPLAY=:0 Environment=QT_QPA_PLATFORM=xcb WorkingDirectory=/opt/raspscreen ExecStart=/opt/raspscreen/bin/manage.sh start video --foreground -Restart=on-failure +Restart=always RestartSec=2 [Install]