From 5f15f53ed7022e7cadd4b9bfb199d4bc2e66c0db Mon Sep 17 00:00:00 2001 From: Max Krummenacher Date: Tue, 11 Jun 2019 15:35:21 +0200 Subject: wayland-app-launch: fix service status detection The service expects the script to return (Type=forking). Change the script so that the wayland app is started in the background. While at it configure the service to restart the application. Signed-off-by: Max Krummenacher --- .../wayland-app-launch/wayland-app-launch/wayland-app-launch.service | 1 + .../wayland-app-launch/wayland-app-launch/wayland-app-launch.sh.in | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'recipes-graphics/wayland-app-launch') diff --git a/recipes-graphics/wayland-app-launch/wayland-app-launch/wayland-app-launch.service b/recipes-graphics/wayland-app-launch/wayland-app-launch/wayland-app-launch.service index d41615b..a62c980 100644 --- a/recipes-graphics/wayland-app-launch/wayland-app-launch/wayland-app-launch.service +++ b/recipes-graphics/wayland-app-launch/wayland-app-launch/wayland-app-launch.service @@ -4,6 +4,7 @@ After=weston.service Requires=weston.service [Service] +Restart=always Type=forking ExecStart=/usr/bin/wayland-app-launch.sh diff --git a/recipes-graphics/wayland-app-launch/wayland-app-launch/wayland-app-launch.sh.in b/recipes-graphics/wayland-app-launch/wayland-app-launch/wayland-app-launch.sh.in index 411184b..f1059ba 100644 --- a/recipes-graphics/wayland-app-launch/wayland-app-launch/wayland-app-launch.sh.in +++ b/recipes-graphics/wayland-app-launch/wayland-app-launch/wayland-app-launch.sh.in @@ -11,4 +11,4 @@ fi while [ ! -e $XDG_RUNTIME_DIR/wayland-0 ] ; do sleep 0.1; done sleep 0.5 -@@wayland-application@@ +@@wayland-application@@ & -- cgit v1.2.3