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