summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--configs/os/services/kvmd-janus-norunner.service1
-rw-r--r--configs/os/services/kvmd-janus.service1
-rw-r--r--configs/os/sysusers.conf1
3 files changed, 3 insertions, 0 deletions
diff --git a/configs/os/services/kvmd-janus-norunner.service b/configs/os/services/kvmd-janus-norunner.service
index 9674b3d8..82a1e4a5 100644
--- a/configs/os/services/kvmd-janus-norunner.service
+++ b/configs/os/services/kvmd-janus-norunner.service
@@ -10,6 +10,7 @@ Restart=always
RestartSec=3
AmbientCapabilities=CAP_NET_RAW
LimitNOFILE=65536
+UMask=0117 # Crutch for UNIX socket perms
ExecStart=/usr/bin/janus --disable-colors --plugins-folder=/usr/lib/ustreamer/janus --configs-folder=/etc/kvmd/janus
TimeoutStopSec=5
diff --git a/configs/os/services/kvmd-janus.service b/configs/os/services/kvmd-janus.service
index 5f4b44a8..fc478056 100644
--- a/configs/os/services/kvmd-janus.service
+++ b/configs/os/services/kvmd-janus.service
@@ -10,6 +10,7 @@ Restart=always
RestartSec=3
AmbientCapabilities=CAP_NET_RAW
LimitNOFILE=65536
+UMask=0117 # Crutch for UNIX socket perms
ExecStart=/usr/bin/kvmd-janus --run
TimeoutStopSec=5
diff --git a/configs/os/sysusers.conf b/configs/os/sysusers.conf
index a29e3a10..c66a7a46 100644
--- a/configs/os/sysusers.conf
+++ b/configs/os/sysusers.conf
@@ -20,3 +20,4 @@ m kvmd-vnc kvmd
m kvmd-janus kvmd
m kvmd-nginx kvmd
+m kvmd-nginx kvmd-janus