summaryrefslogtreecommitdiffstats
path: root/recipes-demo/homescreen/files/homescreen.service
diff options
context:
space:
mode:
authorArnaud Ferraris <arnaud.ferraris@collabora.com>2021-12-07 19:15:56 +0100
committerArnaud Ferraris <arnaud.ferraris@collabora.com>2021-12-21 09:02:51 +0100
commit864ca525d2edd914d58077bec6faa963b704258a (patch)
tree1587a190c388df769c405ecb162151ee1c8f56b0 /recipes-demo/homescreen/files/homescreen.service
parent5d603679f32614ced2569a860d310a67c8ce98f9 (diff)
homescreen: convert to using the new App FW
Bug-AGL: SPEC-4161 Signed-off-by: Arnaud Ferraris <arnaud.ferraris@collabora.com> Change-Id: I3f53c4d9143baad15fee59110f5f9fbf64290d6c
Diffstat (limited to 'recipes-demo/homescreen/files/homescreen.service')
-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