summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Eichenberger <eichest@gmail.com>2022-11-09 16:22:37 +0100
committerMax Krummenacher <max.krummenacher@toradex.com>2022-12-07 15:34:48 +0100
commitdcc8ccf3891875010376efc2c454954419030126 (patch)
tree82ee300cd86b5383a3c1576a53c0b1579cacb241
parentbed100b71cb3c36865abb8a8b1ebfdf0fe7bdd1e (diff)
wayland-app-launch: do not restart on failure
If the wayland application fails to start we no longer restart it. This can happen when there is no display connected. For example the Qt5_CinematicExperience will fail to start with the following message: xdg_surface geometry (1920 x 1080) is larger than the configured fullscreen state (0 x 0) If we keep restarting the application we spam the kernel log with the following messages: imx-drm display-subsystem: [drm] Cannot find any crtc or sizes Related-to: ELB-4726 Signed-off-by: Stefan Eichenberger <stefan.eichenberger@toradex.com> (cherry picked from commit c6baf131a27bad3515cec907e307c7d0af297409) 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, 0 insertions, 2 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 31499c1..fc9d733 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,8 +10,6 @@ PAMName=login
Environment=WAYLAND_DISPLAY=/run/wayland-0
Environment=@@application-environment@@
ExecStart=@@wayland-application@@
-Restart=on-failure
-RestartSec=1
[Install]
WantedBy=graphical.target