From c99ab9da9f6a07062e071aa17802c491862f76c4 Mon Sep 17 00:00:00 2001 From: Devaev Maxim Date: Mon, 24 May 2021 07:11:30 +0300 Subject: janus service fixes --- configs/os/services/kvmd-janus-norunner.service | 6 ++++-- configs/os/services/kvmd-janus.service | 6 ++++-- 2 files changed, 8 insertions(+), 4 deletions(-) (limited to 'configs/os') 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] -- cgit v1.2.3