summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Eichenberger <stefan.eichenberger@toradex.com>2022-11-18 10:33:01 +0100
committerMax Krummenacher <max.krummenacher@toradex.com>2022-12-07 15:34:48 +0100
commit894e7b73fe924b16ed543bca162f5794e294b51e (patch)
tree28f5f046773d47b59f3830dc41b216c5effb35b7
parent8a9ea279fa5e96327794ad943ebd96be31cca433 (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> (cherry picked from commit 34121f5c91729f7b9185f879318bfd85746e7112) Signed-off-by: Max Krummenacher <max.krummenacher@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