summaryrefslogtreecommitdiff
path: root/configs/os
diff options
context:
space:
mode:
authorDevaev Maxim <[email protected]>2021-05-24 06:49:18 +0300
committerDevaev Maxim <[email protected]>2021-05-24 06:49:18 +0300
commit070a2d82c58e08daf915f77986245e93c088ac2a (patch)
treeefc279a522f83e21033ebc6765cb579c58f15496 /configs/os
parent66d0ae859473f8081dad5d40e259dcf21afbf86e (diff)
perms fix
Diffstat (limited to 'configs/os')
-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