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

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

[Install]
WantedBy=graphical.target