summaryrefslogtreecommitdiff
path: root/recipes-graphics/wayland-app-launch/wayland-app-launch/wayland-app-launch.service.in
diff options
context:
space:
mode:
authorPhilippe Schenker <philippe.schenker@toradex.com>2020-07-17 17:41:16 +0200
committerPhilippe Schenker <philippe.schenker@toradex.com>2020-07-22 18:21:23 +0200
commit72d12dac06bf7b06a8d25fafe0a5c9cdb644a4b3 (patch)
treee13dd65c80de7cb03706ad8ddd6aa8cb6f16c0c2 /recipes-graphics/wayland-app-launch/wayland-app-launch/wayland-app-launch.service.in
parent7dfaa6aea79295320896315abed71124ac09e552 (diff)
wayland-app-launch: add possibility to set environment for app
Related-to: ELB-2838 Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
Diffstat (limited to 'recipes-graphics/wayland-app-launch/wayland-app-launch/wayland-app-launch.service.in')
-rw-r--r--recipes-graphics/wayland-app-launch/wayland-app-launch/wayland-app-launch.service.in13
1 files changed, 13 insertions, 0 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
new file mode 100644
index 0000000..c0f15b1
--- /dev/null
+++ b/recipes-graphics/wayland-app-launch/wayland-app-launch/wayland-app-launch.service.in
@@ -0,0 +1,13 @@
+[Unit]
+Description=Start a wayland application
+After=weston@root.service
+Requires=weston@root.service
+
+[Service]
+Restart=always
+Type=forking
+Environment=@@application-environment@@
+ExecStart=/usr/bin/wayland-app-launch.sh
+
+[Install]
+WantedBy=multi-user.target