summaryrefslogtreecommitdiffstats
path: root/recipes-demo/cluster-dashboard/cluster-dashboard/cluster-dashboard.service
blob: de34e0a588a93420502183d7b7c6d89d2757f7bb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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