netz39-infra-ansible/files/hobbes/grafana-kiosk.service

18 lines
248 B
SYSTEMD
Raw Permalink Normal View History

2024-01-04 22:15:28 +01:00
[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