aboutsummaryrefslogtreecommitdiffstats
path: root/core/entrypoint.sh
diff options
context:
space:
mode:
authorJesús <heckyel@hyperbola.info>2021-05-24 19:12:41 -0500
committerJesús <heckyel@hyperbola.info>2021-05-24 19:12:41 -0500
commit16c2bf49844244004120e232d500704906304841 (patch)
treeddb93247bce86f7e8a60ce5097e9ee4d080006fe /core/entrypoint.sh
parent0d0db95b4645c53484bb63e1b901a5199470a5ad (diff)
downloadyt-local-docker-16c2bf49844244004120e232d500704906304841.tar.lz
yt-local-docker-16c2bf49844244004120e232d500704906304841.tar.xz
yt-local-docker-16c2bf49844244004120e232d500704906304841.zip
Improve torrc
Diffstat (limited to 'core/entrypoint.sh')
-rw-r--r--core/entrypoint.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/entrypoint.sh b/core/entrypoint.sh
index ae762e8..708ba03 100644
--- a/core/entrypoint.sh
+++ b/core/entrypoint.sh
@@ -80,7 +80,7 @@ fi
if [ "$ROUTE_TOR" = 1 ] || [ "$ROUTE_TOR" = 2 ]; then
cat > /etc/torrc <<- EOF
Log notice stdout
-SocksPort 0.0.0.0:9050
+SocksPort 9050 # Default: Bind to localhost:9050 for local connections.
EOF
tor -f /etc/torrc --runasdaemon 1
fi