moved kvmd-oled to this repo

This commit is contained in:
Maxim Devaev
2024-09-11 20:22:49 +03:00
parent 40393acf67
commit 56da910ebe
11 changed files with 351 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
[Unit]
Description=PiKVM - Display shutdown message on the OLED
Conflicts=reboot.target
Before=shutdown.target poweroff.target halt.target
DefaultDependencies=no
[Service]
Type=oneshot
ExecStart=/bin/bash -c "kill -USR2 `systemctl show -P MainPID kvmd-oled`"
ExecStop=/bin/true
RemainAfterExit=yes
[Install]
WantedBy=shutdown.target