Skip to content

Commit 48a576c

Browse files
committed
feat: add tor entrypoint script for use in dashmate (dashpay#4182)
* feat: add entrypoint for tor features in dashmate * fix: use spaces consistently for indendation * fix: output blank line after info * fix: ensure script is executable * fix: keep linter happy
1 parent 7297306 commit 48a576c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docker/docker-entrypoint.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ export LC_ALL=C
44
set -e
55

66
# Get Tor service IP if running
7-
if [[ "$1" == "dashd" ]]; then
7+
if [[ "$1" == "wagerrd" ]]; then
88
# Because dashd only accept torcontrol= host as an ip only, we resolve it here and add to config
99
if [[ "$TOR_CONTROL_HOST" ]] && [[ "$TOR_CONTROL_PORT" ]] && [[ "$TOR_PROXY_PORT" ]]; then
1010
TOR_IP=$(getent hosts $TOR_CONTROL_HOST | cut -d ' ' -f 1)

0 commit comments

Comments
 (0)