🗃️ Committing everything that changed 🗃️

This commit is contained in:
casjay 2022-10-02 16:45:39 -04:00
parent 2b990dbb32
commit e8f9fecabd
No known key found for this signature in database
GPG Key ID: 4F765975C1F0EE5F

View File

@ -97,10 +97,10 @@ fi
[ -d "/data/tor" ] || mkdir -p "/data/tor" [ -d "/data/tor" ] || mkdir -p "/data/tor"
[ -d "/config/tor" ] || mkdir -p "/config/tor" [ -d "/config/tor" ] || mkdir -p "/config/tor"
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
if [ -f "/config/tor/torrc" ]; then if [ -f "/config/tor/torrc" ]; then
cp -Rf "/config/tor/torrc" "/etc/tor/torrc" cp -Rf "/config/tor/torrc" "/etc/tor/torrc"
else else
cp -Rf "/etc/tor/torrc" "/config/tor/torrc" cp -Rf "/etc/tor/torrc" "/config/tor/torrc"
fi fi
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
case "$1" in case "$1" in
@ -128,7 +128,7 @@ healthcheck) # Docker healthcheck
if [ $# -eq 0 ]; then if [ $# -eq 0 ]; then
tor -f /etc/tor/torrc tor -f /etc/tor/torrc
else else
__exec_bash "/bin/bash" __exec_bash "$@"
fi fi
exitCode=$? exitCode=$?
;; ;;