diff --git a/docker/docker-entrypoint.sh b/docker/docker-entrypoint.sh index a201ae7e18bc65..bf9df15fb091c3 100755 --- a/docker/docker-entrypoint.sh +++ b/docker/docker-entrypoint.sh @@ -4,7 +4,7 @@ export LC_ALL=C set -e # Get Tor service IP if running -if [[ "$1" == "dashd" ]]; then +if [[ "$1" == "wagerrd" ]]; then # Because dashd only accept torcontrol= host as an ip only, we resolve it here and add to config if [[ "$TOR_CONTROL_HOST" ]] && [[ "$TOR_CONTROL_PORT" ]] && [[ "$TOR_PROXY_PORT" ]]; then TOR_IP=$(getent hosts $TOR_CONTROL_HOST | cut -d ' ' -f 1)