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.service5
1 files changed, 4 insertions, 1 deletions
diff --git a/recipes-demo/homescreen/files/homescreen.service b/recipes-demo/homescreen/files/homescreen.service
index 7b765c7b8..d35f52ad6 100644
--- a/recipes-demo/homescreen/files/homescreen.service
+++ b/recipes-demo/homescreen/files/homescreen.service
@@ -1,12 +1,15 @@
[Unit]
Requires=agl-compositor.service
After=agl-compositor.service
+Before=graphical.target
[Service]
Type=simple
+User=agl-driver
+Environment=XDG_RUNTIME_DIR=/run/user/1001/
EnvironmentFile=-/etc/default/homescreen
ExecStart=/usr/bin/homescreen
Restart=on-failure
[Install]
-WantedBy=agl-session.target
+WantedBy=graphical.target