diff options
author | Devaev Maxim <[email protected]> | 2021-05-24 07:11:30 +0300 |
---|---|---|
committer | Devaev Maxim <[email protected]> | 2021-05-24 07:11:30 +0300 |
commit | c99ab9da9f6a07062e071aa17802c491862f76c4 (patch) | |
tree | 5c641ac5a5d7ef866908575e2dab26332b5173e7 | |
parent | f810a30dac0536a5ebdbc4c2478a9160cb75a256 (diff) |
janus service fixes
-rw-r--r-- | configs/os/services/kvmd-janus-norunner.service | 6 | ||||
-rw-r--r-- | configs/os/services/kvmd-janus.service | 6 |
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] |