1
0
Fork 0
mirror of https://github.com/roles-ansible/role-grafana-kiosk.git synced 2024-08-16 10:09:49 +02:00
role-grafana-kiosk/templates/grafana-kiosk.service
2020-07-02 15:28:50 +02:00

15 lines
531 B
Desktop File

[Unit]
Description=Grafana Kiosk
Documentation=https://github.com/grafana/grafana-kiosk.git
Documentation=https://grafana.com/blog/2019/05/02/grafana-tutorial-how-to-create-kiosks-to-display-dashboards-on-a-tv
Documentation=https://github.com/DO1JLR/role-grafana-kiosk.git
After=network.target
[Service]
User={{ grafana_kiosk.user }}
Environment="DISPLAY=:0"
Environment="XAUTHORITY=/home/{{ grafana_kiosk.user }}/.Xauthority"
ExecStart=/usr/bin/grafana-kiosk -c /etc/grafana-kiosk/config.yml
[Install]
WantedBy=graphical.target