summaryrefslogtreecommitdiff
path: root/configs/os
diff options
context:
space:
mode:
authorDevaev Maxim <[email protected]>2019-09-24 05:50:21 +0300
committerDevaev Maxim <[email protected]>2019-09-24 05:50:21 +0300
commite97a2ea251dc2063998122f750940cf8e690d211 (patch)
treead14f1be5ff626302315d27a1189e2a46a798e8c /configs/os
parentaee005787c1c1082e50224fc492409e49b60d389 (diff)
otg service and helper
Diffstat (limited to 'configs/os')
-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