Set the turn pid file

This commit is contained in:
Bob Mottram 2016-12-30 22:34:22 +00:00
parent f9ae15fe97
commit ea114b507b
1 changed files with 1 additions and 1 deletions

View File

@ -94,7 +94,7 @@ function install_turn {
echo 'Type=simple' >> /etc/systemd/system/turn.service echo 'Type=simple' >> /etc/systemd/system/turn.service
echo 'User=matrix' >> /etc/systemd/system/turn.service echo 'User=matrix' >> /etc/systemd/system/turn.service
echo "WorkingDirectory=/var/lib/turn" >> /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 "Environment=REPORT_STATS=\"no\"" >> /etc/systemd/system/turn.service
echo 'Restart=always' >> /etc/systemd/system/turn.service echo 'Restart=always' >> /etc/systemd/system/turn.service
echo 'RestartSec=10' >> /etc/systemd/system/turn.service echo 'RestartSec=10' >> /etc/systemd/system/turn.service