From 1b102ab95f91f7358d0223d91324748a074e3d43 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jes=C3=BAs?= Date: Thu, 1 Jul 2021 21:54:23 -0500 Subject: Add max and timeout variables to config.env.example --- core/entrypoint.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'core') diff --git a/core/entrypoint.sh b/core/entrypoint.sh index 1c15c2c..bbe05d6 100644 --- a/core/entrypoint.sh +++ b/core/entrypoint.sh @@ -80,9 +80,9 @@ fi if [ "$ROUTE_TOR" = 1 ] || [ "$ROUTE_TOR" = 2 ]; then cat > /etc/tor/torrc <<- EOF Log notice stdout -SocksPort 9050 # Default: Bind to localhost:9050 for local connections. -MaxCircuitDirtiness 300 -CircuitBuildTimeout 300 +SocksPort ${TOR_PORT:-9050} # Default: Bind to localhost:9050 for local connections. +MaxCircuitDirtiness ${MAX_CIRCUIT:-300} +CircuitBuildTimeout ${CIRCUIT_TIMEOUT:-300} ExcludeExitNodes {US} StrictNodes 1 EOF -- cgit v1.2.3