Bob Mottram пре 8 година
родитељ
комит
ea114b507b
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1
    1
      src/freedombone-utils-turn

+ 1
- 1
src/freedombone-utils-turn Прегледај датотеку

@@ -94,7 +94,7 @@ function install_turn {
94 94
     echo 'Type=simple' >> /etc/systemd/system/turn.service
95 95
     echo 'User=matrix' >> /etc/systemd/system/turn.service
96 96
     echo "WorkingDirectory=/var/lib/turn" >> /etc/systemd/system/turn.service
97
-    echo "ExecStart=/usr/bin/turnserver -c /var/lib/turn/turnserver.conf" >> /etc/systemd/system/turn.service
97
+    echo "ExecStart=/usr/bin/turnserver -c /var/lib/turn/turnserver.conf --pidfile /var/lib/matrix/homeserver.pid" >> /etc/systemd/system/turn.service
98 98
     echo "Environment=REPORT_STATS=\"no\"" >> /etc/systemd/system/turn.service
99 99
     echo 'Restart=always' >> /etc/systemd/system/turn.service
100 100
     echo 'RestartSec=10' >> /etc/systemd/system/turn.service