X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;ds=sidebyside;f=recipes-demo%2Fcluster-dashboard%2Fcluster-dashboard%2Fcluster-dashboard.service;h=de34e0a588a93420502183d7b7c6d89d2757f7bb;hb=24e6aa794d7d8d03d950404c241857fb5203b76b;hp=d96c738bb9e9849eacd50e3ec647ff9b88fc2fd7;hpb=6cce1d8fcff72bd429a6f0aea23fc5666fd67878;p=AGL%2Fmeta-agl-demo.git diff --git a/recipes-demo/cluster-dashboard/cluster-dashboard/cluster-dashboard.service b/recipes-demo/cluster-dashboard/cluster-dashboard/cluster-dashboard.service index d96c738bb..de34e0a58 100644 --- a/recipes-demo/cluster-dashboard/cluster-dashboard/cluster-dashboard.service +++ b/recipes-demo/cluster-dashboard/cluster-dashboard/cluster-dashboard.service @@ -6,9 +6,11 @@ After=agl-compositor.service # Since we are part of the agl session, make sure we are started before # it is complete. -Before=agl-session.target +Before=graphical.target [Service] +User=agl-driver +Environment=XDG_RUNTIME_DIR=/run/user/1001/ ExecStart=/usr/bin/cluster-dashboard Restart=always @@ -17,4 +19,4 @@ StandardOutput=journal StandardError=journal [Install] -WantedBy=agl-session.target +WantedBy=graphical.target