summaryrefslogtreecommitdiffstats
path: root/recipes-demo/flutter-homescreen/files/flutter-homescreen.service
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-demo/flutter-homescreen/files/flutter-homescreen.service')
-rw-r--r--recipes-demo/flutter-homescreen/files/flutter-homescreen.service10
1 files changed, 10 insertions, 0 deletions
diff --git a/recipes-demo/flutter-homescreen/files/flutter-homescreen.service b/recipes-demo/flutter-homescreen/files/flutter-homescreen.service
new file mode 100644
index 000000000..300fb22d3
--- /dev/null
+++ b/recipes-demo/flutter-homescreen/files/flutter-homescreen.service
@@ -0,0 +1,10 @@
+[Unit]
+Requires=agl-compositor.service
+After=agl-compositor.service
+
+[Service]
+ExecStart=/usr/bin/flutter-auto --j=/usr/share/flutter/flutter-homescreen.json --xdg-shell-app-id=homescreen
+Restart=on-failure
+
+[Install]
+WantedBy=agl-session.target