瀏覽代碼

turn stats off

Bob Mottram 8 年之前
父節點
當前提交
a8bb495760
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1
    0
      src/freedombone-utils-turn

+ 1
- 0
src/freedombone-utils-turn 查看文件

@@ -99,6 +99,7 @@ function install_turn {
99 99
     echo 'User=matrix' >> /etc/systemd/system/turn.service
100 100
     echo "WorkingDirectory=/var/lib/turn" >> /etc/systemd/system/turn.service
101 101
     echo "ExecStart=/usr/bin/turnserver -c /var/lib/turn/turnserver.conf" >> /etc/systemd/system/turn.service
102
+    echo "Environment=REPORT_STATS=no" >> /etc/systemd/system/turn.service
102 103
     echo 'Restart=always' >> /etc/systemd/system/turn.service
103 104
     echo 'RestartSec=10' >> /etc/systemd/system/turn.service
104 105
     echo '' >> /etc/systemd/system/turn.service