diff --git a/files/hobbes/grafana-kiosk.service b/files/hobbes/grafana-kiosk.service new file mode 100644 index 0000000..09a32ce --- /dev/null +++ b/files/hobbes/grafana-kiosk.service @@ -0,0 +1,17 @@ +[Unit] +Description=Grafana Kiosk +After=network.target +Wants=network.target + +[Service] +User=root + +ExecStart=/usr/local/bin/kiosk.sh + +Restart=always + +PIDFile=/run/kiosk.pid +ExecStop=/bin/kill -s SIGTERM $MAINPID + +[Install] +WantedBy=multi-user.target