X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=recipes-demo%2Fflutter-cluster-dashboard%2Ffiles%2Fflutter-cluster-dashboard.service;h=21082e7eb88d0f93756e3ccc5f0333aa87326df7;hb=2507e4a69862808a6331b0e4c665b694f49a49b9;hp=b79092e28ebb9b79e65590be8e24a1f5508ee9ed;hpb=cce52591f8e00ae41ae380a597d620b0856d004d;p=AGL%2Fmeta-agl-demo.git diff --git a/recipes-demo/flutter-cluster-dashboard/files/flutter-cluster-dashboard.service b/recipes-demo/flutter-cluster-dashboard/files/flutter-cluster-dashboard.service index b79092e28..21082e7eb 100644 --- a/recipes-demo/flutter-cluster-dashboard/files/flutter-cluster-dashboard.service +++ b/recipes-demo/flutter-cluster-dashboard/files/flutter-cluster-dashboard.service @@ -3,10 +3,12 @@ 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} --j=/usr/share/flutter/flutter-cluster-dashboard.json Restart=on-failure [Install] -WantedBy=agl-session.target +WantedBy=graphical.target