aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-demo/flutter-homescreen/files/flutter-homescreen.service
blob: 6a1eabeabe3332367b05877c83b767d57d6bac35 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
[Unit]
Requires=agl-compositor.service
After=agl-compositor.service

[Service]
User=agl-driver
EnvironmentFile=/etc/default/flutter
EnvironmentFile=-/etc/default/flutter-homescreen
Environment=XDG_RUNTIME_DIR=/run/user/1001/
ExecStart=/usr/bin/flutter-auto --b=/usr/share/flutter/flutter_homescreen/${FLUTTER_VERSION}/${FLUTTER_RUNTIME} --j=/usr/share/flutter/flutter-homescreen.json --xdg-shell-app-id=homescreen
Restart=on-failure

[Install]
WantedBy=graphical.target