diff options
Diffstat (limited to 'recipes-demo/cluster-dashboard/cluster-dashboard/cluster-dashboard.service')
-rw-r--r-- | recipes-demo/cluster-dashboard/cluster-dashboard/cluster-dashboard.service | 6 |
1 files changed, 4 insertions, 2 deletions
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 |