X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=recipes-demo%2Fflutter-cluster-dashboard%2Ffiles%2Fflutter-cluster-dashboard.service;fp=recipes-demo%2Fflutter-cluster-dashboard%2Ffiles%2Fflutter-cluster-dashboard.service;h=b79092e28ebb9b79e65590be8e24a1f5508ee9ed;hb=cce52591f8e00ae41ae380a597d620b0856d004d;hp=71ab791dd004e6df954c8c7ff4e6c21a9df7b13f;hpb=de1dccae31b3c7c62f0e19102b7223d747f413ed;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 71ab791dd..b79092e28 100644 --- a/recipes-demo/flutter-cluster-dashboard/files/flutter-cluster-dashboard.service +++ b/recipes-demo/flutter-cluster-dashboard/files/flutter-cluster-dashboard.service @@ -3,7 +3,9 @@ Requires=agl-compositor.service After=agl-compositor.service [Service] -ExecStart=/usr/bin/flutter-auto --j=/usr/share/flutter/default.json +EnvironmentFile=/etc/default/flutter +EnvironmentFile=-/etc/default/flutter-cluster-dashboard +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]