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