summaryrefslogtreecommitdiff
path: root/configs/os
diff options
context:
space:
mode:
authorDevaev Maxim <[email protected]>2021-05-24 07:11:30 +0300
committerDevaev Maxim <[email protected]>2021-05-24 07:11:30 +0300
commitc99ab9da9f6a07062e071aa17802c491862f76c4 (patch)
tree5c641ac5a5d7ef866908575e2dab26332b5173e7 /configs/os
parentf810a30dac0536a5ebdbc4c2478a9160cb75a256 (diff)
janus service fixes
Diffstat (limited to 'configs/os')
-rw-r--r--configs/os/services/kvmd-janus-norunner.service6
-rw-r--r--configs/os/services/kvmd-janus.service6
2 files changed, 8 insertions, 4 deletions
diff --git a/configs/os/services/kvmd-janus-norunner.service b/configs/os/services/kvmd-janus-norunner.service
index 82a1e4a5..dfd817ff 100644
--- a/configs/os/services/kvmd-janus-norunner.service
+++ b/configs/os/services/kvmd-janus-norunner.service
@@ -10,10 +10,12 @@ Restart=always
RestartSec=3
AmbientCapabilities=CAP_NET_RAW
LimitNOFILE=65536
-UMask=0117 # Crutch for UNIX socket perms
+
+# 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=5
+TimeoutStopSec=10
KillMode=mixed
[Install]
diff --git a/configs/os/services/kvmd-janus.service b/configs/os/services/kvmd-janus.service
index fc478056..43c00b38 100644
--- a/configs/os/services/kvmd-janus.service
+++ b/configs/os/services/kvmd-janus.service
@@ -10,10 +10,12 @@ Restart=always
RestartSec=3
AmbientCapabilities=CAP_NET_RAW
LimitNOFILE=65536
-UMask=0117 # Crutch for UNIX socket perms
+
+# Crutch for UNIX socket perms
+UMask=0117
ExecStart=/usr/bin/kvmd-janus --run
-TimeoutStopSec=5
+TimeoutStopSec=10
KillMode=mixed
[Install]