summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Eichenberger <eichest@gmail.com>2022-11-09 16:22:37 +0100
committerStefan Eichenberger <eichest@gmail.com>2022-11-09 16:22:37 +0100
commitc6baf131a27bad3515cec907e307c7d0af297409 (patch)
treeadc84093994e7476a5dbba259f6ac8881e256b58
parent3e7226afbfd01187f13f8b6e4b0ae7996844ebe7 (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>
-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