Add a systemd unit to start the kiosk

This commit is contained in:
Stefan Haun 2024-01-04 22:15:28 +01:00
parent 7b1ecb13fd
commit 00110e8607

View file

@ -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