summaryrefslogtreecommitdiff
path: root/configs
diff options
context:
space:
mode:
Diffstat (limited to 'configs')
-rw-r--r--configs/os/services/kvmd-otg.service13
1 files changed, 13 insertions, 0 deletions
diff --git a/configs/os/services/kvmd-otg.service b/configs/os/services/kvmd-otg.service
new file mode 100644
index 00000000..2a40d781
--- /dev/null
+++ b/configs/os/services/kvmd-otg.service
@@ -0,0 +1,13 @@
+[Unit]
+Description=Pi-KVM - OTG setup
+After=systemd-modules-load.service
+Before=kvmd.service
+
+[Service]
+Type=oneshot
+ExecStart=/usr/bin/kvmd-otg start
+ExecStop=/usr/bin/kvmd-otg stop
+RemainAfterExit=true
+
+[Install]
+WantedBy=multi-user.target