From 6ea3fd2951a821860175e183951fe8b0e3bf887d Mon Sep 17 00:00:00 2001 From: tituspijean Date: Tue, 13 Sep 2022 10:39:56 +0200 Subject: [PATCH] Attempt to fix Coturn-Synapse PID --- conf/coturn-synapse.service | 3 +-- conf/turnserver.conf | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/conf/coturn-synapse.service b/conf/coturn-synapse.service index 724ef01..cbaa90e 100644 --- a/conf/coturn-synapse.service +++ b/conf/coturn-synapse.service @@ -8,11 +8,10 @@ User=turnserver Group=turnserver Type=forking EnvironmentFile=/etc/default/coturn-__APP__ -PIDFile=/run/coturn-__APP__/turnserver.pid +PIDFile=/run/coturn-__APP__.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 Restart=on-abort LimitCORE=infinity diff --git a/conf/turnserver.conf b/conf/turnserver.conf index f25071c..22b6684 100644 --- a/conf/turnserver.conf +++ b/conf/turnserver.conf @@ -24,7 +24,7 @@ no-multicast-peers no-cli log-file=/var/log/matrix-__APP__/turnserver.log -pidfile=/run/coturn-__APP__/turnserver.pid +pidfile=/run/coturn-__APP__.pid simple-log __TURN_EXTERNAL_IP__