Change TOR circuit to 5 min
This commit is contained in:
parent
f3f9e3c9ce
commit
748dc10907
@ -78,11 +78,15 @@ EOF
|
||||
fi
|
||||
|
||||
if [ "$ROUTE_TOR" = 1 ] || [ "$ROUTE_TOR" = 2 ]; then
|
||||
cat > /etc/torrc <<- EOF
|
||||
cat > /etc/tor/torrc <<- EOF
|
||||
Log notice stdout
|
||||
SocksPort 9050 # Default: Bind to localhost:9050 for local connections.
|
||||
MaxCircuitDirtiness 300
|
||||
CircuitBuildTimeout 300
|
||||
ExcludeExitNodes {US}
|
||||
StrictNodes 1
|
||||
EOF
|
||||
tor -f /etc/torrc --runasdaemon 1
|
||||
tor -f /etc/tor/torrc --runasdaemon 1
|
||||
fi
|
||||
|
||||
exec /usr/bin/python3 /srv/app/server.py
|
||||
|
Loading…
x
Reference in New Issue
Block a user