🗃️ Committing everything that changed 🗃️

rootfs/usr/local/etc/docker/init.d/zz-nginx.sh
This commit is contained in:
casjay 2025-06-11 17:49:25 -04:00
parent fa1d037056
commit 111d6d79a0
Signed by untrusted user who does not match committer: jason
GPG Key ID: 1AB309F42A764145

View File

@ -258,10 +258,10 @@ __update_conf_files() {
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# define actions # define actions
while :; do while :; do
printf '\r%s' "waiting for tor to start" echo "waiting for tor to start"
[ -f "/tmp/init_tor_services" ] && sleep 30 || break [ -f "/tmp/init_tor_services" ] && sleep 30 || break
done done
printf '\r%s\n' "The tor server seems to have started " echo "The tor server seems to have started "
for site in "/run/tor/sites"/*; do for site in "/run/tor/sites"/*; do
onion_site="$(basename -- $site)" onion_site="$(basename -- $site)"
mkdir -p "/data/htdocs/onions/$onion_site" mkdir -p "/data/htdocs/onions/$onion_site"