From 68c1b62eb8d8db92bbdea3f881d378f614387fdd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Josu=C3=A9=20Tille?= Date: Fri, 16 Sep 2022 06:35:52 +0200 Subject: [PATCH] Fix turnserver config for bullseye --- conf/coturn-synapse.service | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/conf/coturn-synapse.service b/conf/coturn-synapse.service index 724ef01..c4a13d3 100644 --- a/conf/coturn-synapse.service +++ b/conf/coturn-synapse.service @@ -6,13 +6,9 @@ After=syslog.target network.target [Service] User=turnserver Group=turnserver -Type=forking +Type=simple EnvironmentFile=/etc/default/coturn-__APP__ -PIDFile=/run/coturn-__APP__/turnserver.pid -RuntimeDirectory=coturn-__APP__ -RuntimeDirectoryMode=0755 -ExecStart=/usr/bin/turnserver -o -c /etc/matrix-__APP__/coturn.conf $EXTRA_OPTIONS -ExecStopPost=/bin/rm -f /run/coturn-__APP__/turnserver.pid +ExecStart=/usr/bin/turnserver -c /etc/matrix-__APP__/coturn.conf $EXTRA_OPTIONS --pidfile= Restart=on-abort LimitCORE=infinity @@ -50,7 +46,7 @@ CapabilityBoundingSet=~CAP_BLOCK_SUSPEND CAP_WAKE_ALARM CapabilityBoundingSet=~CAP_SYS_TTY_CONFIG CapabilityBoundingSet=~CAP_MAC_ADMIN CAP_MAC_OVERRIDE CapabilityBoundingSet=~CAP_NET_ADMIN CAP_NET_BROADCAST CAP_NET_RAW -CapabilityBoundingSet=~CAP_SYS_ADMIN CAP_SYS_PTRACE CAP_SYSLOG +CapabilityBoundingSet=~CAP_SYS_ADMIN CAP_SYS_PTRACE CAP_SYSLOG [Install] WantedBy=multi-user.target