applaunchd: update Flutter app systemd template unit
[AGL/meta-agl.git] / meta-app-framework / recipes-core / applaunchd / applaunchd / agl-app-flutter@.service
1 [Unit]
2 Description=%I
3
4 [Service]
5 Type=simple
6 User=agl-driver
7 Environment=FLUTTER_VERSION=3.3.7
8 Environment=FLUTTER_RUNTIME=release
9 EnvironmentFile=-/etc/default/flutter
10 EnvironmentFile=-/etc/default/%I
11 Environment=XDG_RUNTIME_DIR=/run/user/1001/
12 ExecStart=/usr/bin/flutter-auto --b=/usr/share/flutter/%I/${FLUTTER_VERSION}/${FLUTTER_RUNTIME} --xdg-shell-app-id=%I