18 lines
248 B
SYSTEMD
18 lines
248 B
SYSTEMD
|
[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
|