Remove hidden service definitions from torrc
This commit is contained in:
parent
5e80ab9df4
commit
88851408b9
|
@ -61,6 +61,10 @@ function torrc_migrate {
|
|||
sed -i '/DNSListenAddress 127.0.0./d' /etc/tor/torrc
|
||||
sed -i '/AutomapHostsOnResolve 1/d' /etc/tor/torrc
|
||||
|
||||
sed -i '/HiddenServiceDir/d' /etc/tor/torrc
|
||||
sed -i '/HiddenServiceVersion/d' /etc/tor/torrc
|
||||
sed -i '/HiddenServicePort/d' /etc/tor/torrc
|
||||
|
||||
systemctl restart tor
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue