From 50e64487779e23133bd8c635fdfc1331b5d51c0f Mon Sep 17 00:00:00 2001 From: casjay Date: Thu, 9 Jan 2025 02:31:46 -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 rootfs/usr/local/etc/docker/init.d/03-tor-server.sh --- rootfs/usr/local/etc/docker/init.d/03-tor-server.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/rootfs/usr/local/etc/docker/init.d/03-tor-server.sh b/rootfs/usr/local/etc/docker/init.d/03-tor-server.sh index 6184d40..6149445 100755 --- a/rootfs/usr/local/etc/docker/init.d/03-tor-server.sh +++ b/rootfs/usr/local/etc/docker/init.d/03-tor-server.sh @@ -120,7 +120,7 @@ DATABASE_SERVICE_TYPE="sqlite" PRE_EXEC_MESSAGE="" # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - # Set the wait time to execute __post_execute function - minutes -POST_EXECUTE_WAIT_TIME="1" +POST_EXECUTE_WAIT_TIME="5" # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - # Update path var PATH="$PATH:." @@ -362,9 +362,9 @@ __post_execute() { [ -f "$WWW_ROOT_DIR/hostnames.html" ] && rm -f "$WWW_ROOT_DIR/hostnames.html" for d in "$DATA_DIR/services"/*;do for host in "$d"/hostname; do - name=$d + name="$(basename "$d")" url="$(<"$host")" - echo "$name: http://$url" + echo "$name: $url" echo ''$name'
' >>"$WWW_ROOT_DIR/hostnames.html" done done