diff options
-rw-r--r-- | recipes-graphics/wayland-app-launch/wayland-app-launch/wayland-app-launch.service.in | 5 |
1 files changed, 4 insertions, 1 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 677abdb..5c585d3 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 @@ -4,10 +4,13 @@ After=weston.service Requires=weston.service [Service] -Restart=on-failure Type=forking +User=root +PAMName=login +Environment=WAYLAND_DISPLAY=/run/wayland-0 Environment=@@application-environment@@ ExecStart=/usr/bin/wayland-app-launch.sh +Restart=on-failure RestartSec=1 [Install] |