summaryrefslogtreecommitdiff
path: root/configs/os/services/kvmd-janus-norunner.service
diff options
context:
space:
mode:
Diffstat (limited to 'configs/os/services/kvmd-janus-norunner.service')
-rw-r--r--configs/os/services/kvmd-janus-norunner.service19
1 files changed, 19 insertions, 0 deletions
diff --git a/configs/os/services/kvmd-janus-norunner.service b/configs/os/services/kvmd-janus-norunner.service
new file mode 100644
index 00000000..9674b3d8
--- /dev/null
+++ b/configs/os/services/kvmd-janus-norunner.service
@@ -0,0 +1,19 @@
+[Unit]
+Description=Pi-KVM - Janus WebRTC Gateway (No Runner)
+After=network.target network-online.target nss-lookup.target kvmd.service
+
+[Service]
+User=kvmd-janus
+Group=kvmd-janus
+Type=simple
+Restart=always
+RestartSec=3
+AmbientCapabilities=CAP_NET_RAW
+LimitNOFILE=65536
+
+ExecStart=/usr/bin/janus --disable-colors --plugins-folder=/usr/lib/ustreamer/janus --configs-folder=/etc/kvmd/janus
+TimeoutStopSec=5
+KillMode=mixed
+
+[Install]
+WantedBy=multi-user.target