From eacac6a19a3a006ba7ad4c4dfca99eae0b350c3e Mon Sep 17 00:00:00 2001 From: Stefan Haun Date: Wed, 3 Jan 2024 20:26:32 +0100 Subject: [PATCH] Remove old service template for Hobbes --- templates/hobbes/grafana-kiosk.service.j2 | 36 ----------------------- 1 file changed, 36 deletions(-) delete mode 100644 templates/hobbes/grafana-kiosk.service.j2 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 -