From 37a7a55a4d30b3610afcd6623019fb65147420bf Mon Sep 17 00:00:00 2001 From: casjay Date: Thu, 9 Jan 2025 03:00:22 -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 | 3 +++ 1 file changed, 3 insertions(+) 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 482f892..9f7bc4f 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 @@ -358,6 +358,9 @@ __post_execute() { done # show message __banner "$postMessageST" + if [ -d "/data/htdocs/www" ]; then + WWW_ROOT_DIR="/data/htdocs/www" + fi if [ -d "$DATA_DIR/services" ]; then [ -f "$WWW_ROOT_DIR/hostnames.html" ] && rm -f "$WWW_ROOT_DIR/hostnames.html" for d in "$DATA_DIR/services"/*;do