summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxim Devaev <[email protected]>2024-02-26 22:11:51 +0200
committerMaxim Devaev <[email protected]>2024-02-26 22:11:51 +0200
commitfc488f7e8f287f747a7d8fa73d02e157b4cca30b (patch)
treefde7867e5a9a29a7c5b21d6f5f8cf442d628d68f
parent2eafc1cf16b5c63fe47f1604b35b7f7caca3e419 (diff)
kvmd-pass.service
-rw-r--r--configs/os/services/kvmd-pass.service15
-rw-r--r--configs/os/services/kvmd-tc358743.service2
2 files changed, 16 insertions, 1 deletions
diff --git a/configs/os/services/kvmd-pass.service b/configs/os/services/kvmd-pass.service
new file mode 100644
index 00000000..5d55b5fe
--- /dev/null
+++ b/configs/os/services/kvmd-pass.service
@@ -0,0 +1,15 @@
+[Unit]
+Description=PiKVM - Video Passthrough on V4 Plus
+Wants=dev-kvmd\x2dvideo.device
+After=dev-kvmd\x2dvideo.device systemd-modules-load.service
+
+[Service]
+Type=simple
+Restart=always
+RestartSec=3
+
+ExecStart=/usr/bin/ustreamer-v4p --unix-follow /run/kvmd/ustreamer.sock
+TimeoutStopSec=10
+
+[Install]
+WantedBy=multi-user.target
diff --git a/configs/os/services/kvmd-tc358743.service b/configs/os/services/kvmd-tc358743.service
index c4f13300..c8b8bbf9 100644
--- a/configs/os/services/kvmd-tc358743.service
+++ b/configs/os/services/kvmd-tc358743.service
@@ -2,7 +2,7 @@
Description=PiKVM - EDID loader for TC358743
Wants=dev-kvmd\x2dvideo.device
After=dev-kvmd\x2dvideo.device systemd-modules-load.service
-Before=kvmd.service
+Before=kvmd.service kvmd-pass.service
[Service]
Type=oneshot