summaryrefslogtreecommitdiff
path: root/configs/os/services/kvmd-janus-static.service
diff options
context:
space:
mode:
authorDevaev Maxim <[email protected]>2021-05-31 05:19:52 +0300
committerDevaev Maxim <[email protected]>2021-05-31 05:19:52 +0300
commitdecdb80c2db5edd159b7343fd74c9230d2aca559 (patch)
tree2879141acdf8d139cd775e94c462c914a9a2dcce /configs/os/services/kvmd-janus-static.service
parenta57fc4e2263e2e261eec0ce395b010d9127ab44b (diff)
rename
Diffstat (limited to 'configs/os/services/kvmd-janus-static.service')
-rw-r--r--configs/os/services/kvmd-janus-static.service22
1 files changed, 22 insertions, 0 deletions
diff --git a/configs/os/services/kvmd-janus-static.service b/configs/os/services/kvmd-janus-static.service
new file mode 100644
index 00000000..3fc62289
--- /dev/null
+++ b/configs/os/services/kvmd-janus-static.service
@@ -0,0 +1,22 @@
+[Unit]
+Description=Pi-KVM - Janus WebRTC Gateway (Static Config)
+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
+
+# Crutch for UNIX socket perms
+UMask=0117
+
+ExecStart=/usr/bin/janus --disable-colors --plugins-folder=/usr/lib/ustreamer/janus --configs-folder=/etc/kvmd/janus
+TimeoutStopSec=10
+KillMode=mixed
+
+[Install]
+WantedBy=multi-user.target