From ea114b507bbecf0b1203801f00bde9841d2fe554 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Fri, 30 Dec 2016 22:34:22 +0000 Subject: [PATCH] Set the turn pid file --- src/freedombone-utils-turn | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/freedombone-utils-turn b/src/freedombone-utils-turn index f5ca3603..97a31f39 100755 --- a/src/freedombone-utils-turn +++ b/src/freedombone-utils-turn @@ -94,7 +94,7 @@ function install_turn { echo 'Type=simple' >> /etc/systemd/system/turn.service echo 'User=matrix' >> /etc/systemd/system/turn.service echo "WorkingDirectory=/var/lib/turn" >> /etc/systemd/system/turn.service - echo "ExecStart=/usr/bin/turnserver -c /var/lib/turn/turnserver.conf" >> /etc/systemd/system/turn.service + echo "ExecStart=/usr/bin/turnserver -c /var/lib/turn/turnserver.conf --pidfile /var/lib/matrix/homeserver.pid" >> /etc/systemd/system/turn.service echo "Environment=REPORT_STATS=\"no\"" >> /etc/systemd/system/turn.service echo 'Restart=always' >> /etc/systemd/system/turn.service echo 'RestartSec=10' >> /etc/systemd/system/turn.service