Set the turn pid file
This commit is contained in:
parent
f9ae15fe97
commit
ea114b507b
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue