ソースを参照

Additional tor settings

Bob Mottram 10 年 前
コミット
7072822193
共有1 個のファイルを変更した6 個の追加0 個の削除を含む
  1. 6
    0
      install-freedombone.sh

+ 6
- 0
install-freedombone.sh ファイルの表示

@@ -7053,6 +7053,12 @@ function route_outgoing_traffic_through_tor {
7053 7053
       echo "DNSListenAddress localhost" >> /etc/tor/torrc
7054 7054
   fi
7055 7055
 
7056
+  if ! grep -q "ClientOnly" /etc/tor/torrc; then
7057
+      echo "ClientOnly" >> /etc/tor/torrc
7058
+  fi
7059
+
7060
+  sed -i 's/#RunAsDaemon 1/RunAsDaemon 1/g' >> /etc/tor/torrc
7061
+
7056 7062
   touch /var/log/tor/notices.log
7057 7063
   chown debian-tor /var/log/tor/notices.log
7058 7064
   chmod 644 /var/log/tor/notices.log