diff --git a/templates/hobbes/grafana-kiosk.service.j2 b/templates/hobbes/grafana-kiosk.service.j2 deleted file mode 100644 index 0712910..0000000 --- a/templates/hobbes/grafana-kiosk.service.j2 +++ /dev/null @@ -1,36 +0,0 @@ -[Unit] -Description=Grafana Kiosk -Documentation=https://github.com/grafana/grafana-kiosk -Documentation=https://grafana.com/blog/2019/05/02/grafana-tutorial-how-to-create-kiosks-to-display-dashboards-on-a-tv -After=network.target -Wants=graphical.target -After=graphical.target - -[Service] -User={{ kiosk_user }} -Environment="DISPLAY=:0" -Environment="XAUTHORITY=/home/{{ kiosk_user }}/.Xauthority" - -# These should work according to the docs, but are nowhere in the code? -#Environment="KIOSK_MODE=full" -#Environment="KIOSK_AUTOFIT=false" -#Environment="KIOSK_LXDE_ENABLED=true" -#Environment="KIOSK_LXDE_HOME=/home/{{ kiosk_user }}" -#Environment="KIOSK_URL={{ kiosk_url }}" -#Environment="KIOSK_LOGIN_METHOD=local" -#Environment="KIOSK_LOGIN_USER={{ kiosk_grafana_user }}" -#Environment="KIOSK_LOGIN_PASSWORD={{ kiosk_grafana_pass }}" - -# Disable screensaver etc. -ExecStartPre=xset s off -ExecStartPre=xset -dpms -ExecStartPre=xset s noblank - -ExecStart=/home/{{ kiosk_user }}/bin/grafana-kiosk -kiosk-mode=full -autofit=false -lxde-home=/home/{{ kiosk_user }} -URL="{{ kiosk_url }}" -login-method=local -username={{ kiosk_grafana_user }} --password={{ kiosk_grafana_pass }} - -Restart=on-failure -RestartSec=30s - -[Install] -WantedBy=graphical.target -