summaryrefslogtreecommitdiffstats
path: root/recipes-demo/homescreen/files
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-demo/homescreen/files')
-rw-r--r--recipes-demo/homescreen/files/homescreen.service13
1 files changed, 5 insertions, 8 deletions
diff --git a/recipes-demo/homescreen/files/homescreen.service b/recipes-demo/homescreen/files/homescreen.service
index 6d57ea775..b95d58386 100644
--- a/recipes-demo/homescreen/files/homescreen.service
+++ b/recipes-demo/homescreen/files/homescreen.service
@@ -1,14 +1,11 @@
[Unit]
-Requires=weston.service
-After=weston.service
+Requires=agl-compositor.service
+After=agl-compositor.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
+Type=simple
ExecStart=/usr/bin/homescreen
+Restart=on-failure
[Install]
-WantedBy=graphical.target
+WantedBy=agl-session.target