From e8f9fecabd430a1a63112c6e64d6cc9bf7e692fe Mon Sep 17 00:00:00 2001 From: casjay Date: Sun, 2 Oct 2022 16:45:39 -0400 Subject: [PATCH] =?UTF-8?q?=F0=9F=97=83=EF=B8=8F=20Committing=20everything?= =?UTF-8?q?=20that=20changed=20=F0=9F=97=83=EF=B8=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bin/entrypoint-tor.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/bin/entrypoint-tor.sh b/bin/entrypoint-tor.sh index e5ad610..cf3f434 100755 --- a/bin/entrypoint-tor.sh +++ b/bin/entrypoint-tor.sh @@ -97,10 +97,10 @@ fi [ -d "/data/tor" ] || mkdir -p "/data/tor" [ -d "/config/tor" ] || mkdir -p "/config/tor" # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -if [ -f "/config/tor/torrc" ]; then -cp -Rf "/config/tor/torrc" "/etc/tor/torrc" +if [ -f "/config/tor/torrc" ]; then + cp -Rf "/config/tor/torrc" "/etc/tor/torrc" else - cp -Rf "/etc/tor/torrc" "/config/tor/torrc" + cp -Rf "/etc/tor/torrc" "/config/tor/torrc" fi # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - case "$1" in @@ -128,7 +128,7 @@ healthcheck) # Docker healthcheck if [ $# -eq 0 ]; then tor -f /etc/tor/torrc else - __exec_bash "/bin/bash" + __exec_bash "$@" fi exitCode=$? ;;