summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Eichenberger <stefan.eichenberger@toradex.com>2022-11-18 10:33:01 +0100
committerStefan Eichenberger <eichest@gmail.com>2022-11-18 10:37:28 +0100
commit34121f5c91729f7b9185f879318bfd85746e7112 (patch)
treec52361bffb94938ee37917b579a0cd33b3b9c669
parent2ca50c7c93e69cd02028ec5a204b84632d996703 (diff)
Revert "wayland-app-launch: do not restart on failure"
This reverts commit c6baf131a27bad3515cec907e307c7d0af297409. Now that the cinematicexperience application doesn't crash anymore we can enable the restart on failure again. This will handle the unlikely case when the application would still crash in an unlikely event. Related-to: ELB-4884 Signed-off-by: Stefan Eichenberger <stefan.eichenberger@toradex.com>
-rw-r--r--recipes-graphics/wayland-app-launch/wayland-app-launch/wayland-app-launch.service.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/recipes-graphics/wayland-app-launch/wayland-app-launch/wayland-app-launch.service.in b/recipes-graphics/wayland-app-launch/wayland-app-launch/wayland-app-launch.service.in
index fc9d733..31499c1 100644
--- a/recipes-graphics/wayland-app-launch/wayland-app-launch/wayland-app-launch.service.in
+++ b/recipes-graphics/wayland-app-launch/wayland-app-launch/wayland-app-launch.service.in
@@ -10,6 +10,8 @@ PAMName=login
Environment=WAYLAND_DISPLAY=/run/wayland-0
Environment=@@application-environment@@
ExecStart=@@wayland-application@@
+Restart=on-failure
+RestartSec=1
[Install]
WantedBy=graphical.target