summaryrefslogtreecommitdiff
path: root/configs/os/services/kvmd-oled.service
diff options
context:
space:
mode:
Diffstat (limited to 'configs/os/services/kvmd-oled.service')
-rw-r--r--configs/os/services/kvmd-oled.service15
1 files changed, 15 insertions, 0 deletions
diff --git a/configs/os/services/kvmd-oled.service b/configs/os/services/kvmd-oled.service
new file mode 100644
index 00000000..ea0d4850
--- /dev/null
+++ b/configs/os/services/kvmd-oled.service
@@ -0,0 +1,15 @@
+[Unit]
+Description=PiKVM - A small OLED daemon
+After=systemd-modules-load.service
+ConditionPathExists=/dev/i2c-1
+
+[Service]
+Type=simple
+Restart=always
+RestartSec=3
+ExecStartPre=/usr/bin/kvmd-oled --interval=3 --clear-on-exit [email protected]
+ExecStart=/usr/bin/kvmd-oled
+TimeoutStopSec=3
+
+[Install]
+WantedBy=multi-user.target