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 | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/recipes-demo/cluster-dashboard/cluster-dashboard/cluster-dashboard.service b/recipes-demo/cluster-dashboard/cluster-dashboard/cluster-dashboard.service new file mode 100644 index 00000000..de34e0a5 --- /dev/null +++ b/recipes-demo/cluster-dashboard/cluster-dashboard/cluster-dashboard.service @@ -0,0 +1,22 @@ +[Unit] +Description=cluster-dashboard + +Requires=agl-compositor.service +After=agl-compositor.service + +# Since we are part of the agl session, make sure we are started before +# it is complete. +Before=graphical.target + +[Service] +User=agl-driver +Environment=XDG_RUNTIME_DIR=/run/user/1001/ +ExecStart=/usr/bin/cluster-dashboard + +Restart=always + +StandardOutput=journal +StandardError=journal + +[Install] +WantedBy=graphical.target |