summaryrefslogtreecommitdiffstats
path: root/recipes-demo/flutter-cluster-dashboard/files/flutter-cluster-dashboard.service
blob: 83fe23508494ab5d6871b6d750301db87fcc5bec (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-cluster-dashboard
Environment=XDG_RUNTIME_DIR=/run/user/1001/
ExecStart=/usr/bin/flutter-auto -b /usr/share/flutter/flutter_cluster_dashboard/${FLUTTER_VERSION}/${FLUTTER_RUNTIME}
Restart=on-failure

[Install]
WantedBy=graphical.target