diff options
author | Max Krummenacher <max.krummenacher@toradex.com> | 2019-06-11 15:35:21 +0200 |
---|---|---|
committer | Max Krummenacher <max.krummenacher@toradex.com> | 2019-06-11 15:37:45 +0200 |
commit | 5f15f53ed7022e7cadd4b9bfb199d4bc2e66c0db (patch) | |
tree | 0783a434227ba6629c1489f09a8ed7692f75d107 | |
parent | 6baab34069cf074ced0b240c92fdb71d878663e1 (diff) |
wayland-app-launch: fix service status detectionApalis-iMX8_Console-Image_3.0b1.40-20190612
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 <max.krummenacher@toradex.com>
-rw-r--r-- | recipes-graphics/wayland-app-launch/wayland-app-launch/wayland-app-launch.service | 1 | ||||
-rw-r--r-- | recipes-graphics/wayland-app-launch/wayland-app-launch/wayland-app-launch.sh.in | 2 |
2 files changed, 2 insertions, 1 deletions
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@@ & |