summaryrefslogtreecommitdiff
path: root/configs/os/services/kvmd-oled-reboot.service
blob: 23bbca156f9b22cec1551ab1c8a26868aea1ac82 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
[Unit]
Description=PiKVM - Display reboot message on the OLED
DefaultDependencies=no

[Service]
Type=oneshot
ExecStart=/bin/bash -c "kill -USR1 `systemctl show -P MainPID kvmd-oled`"
ExecStop=/bin/true
RemainAfterExit=yes

[Install]
WantedBy=reboot.target