aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-demo/homescreen/files/homescreen.service
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-demo/homescreen/files/homescreen.service')
-rw-r--r--recipes-demo/homescreen/files/homescreen.service14
1 files changed, 14 insertions, 0 deletions
diff --git a/recipes-demo/homescreen/files/homescreen.service b/recipes-demo/homescreen/files/homescreen.service
new file mode 100644
index 000000000..6d57ea775
--- /dev/null
+++ b/recipes-demo/homescreen/files/homescreen.service
@@ -0,0 +1,14 @@
+[Unit]
+Requires=weston.service
+After=weston.service
+
+[Service]
+# Placeholder configuration to run as weston user for now.
+User=weston
+Group=weston
+Environment=XDG_RUNTIME_DIR=/run/user/200
+EnvironmentFile=-/etc/default/homescreen
+ExecStart=/usr/bin/homescreen
+
+[Install]
+WantedBy=graphical.target