From 4b586fb7ee829b2289de19850b959180094d1832 Mon Sep 17 00:00:00 2001 From: casjay Date: Wed, 8 Jan 2025 22:32:04 -0500 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 01-tor-server.sh --- rootfs/usr/local/etc/docker/init.d/01-tor-server.sh | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/rootfs/usr/local/etc/docker/init.d/01-tor-server.sh b/rootfs/usr/local/etc/docker/init.d/01-tor-server.sh index 1042dc3..491dfd0 100755 --- a/rootfs/usr/local/etc/docker/init.d/01-tor-server.sh +++ b/rootfs/usr/local/etc/docker/init.d/01-tor-server.sh @@ -267,6 +267,7 @@ AddressDisableIPv6 0 EOF # define actions if [ "$TOR_DNS_ENABLED" = "yes" ]; then + SHOW_HIDDEN_HOSTNAMES=yes mkdir -p "$CONF_DIR/conf.d" cat <>"$CONF_DIR/server.conf" #### dns forwarder @@ -340,7 +341,12 @@ __post_execute() { # show message __banner "$postMessageST" # commands to execute - sleep 5 + if [ -d "$DATA_DIR/services" ]; then + for d in "$DATA_DIR/services"/*;do + for host in "$d"/hostname; do + echo "$d: $host" + done + done # show exit message __banner "$postMessageEnd: Status $retVal" ) 2>"/dev/stderr" | tee -p -a "/data/logs/init.txt" &