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 93ca31e..17be66f 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 @@ -377,6 +377,7 @@ __post_execute() { echo "Begin current hidden services" [ -f "$WWW_ROOT_DIR/hostnames.html" ] && rm -f "$WWW_ROOT_DIR/hostnames.html" for host in "$DATA_DIR/services"/*/hostname; do + d="$(dirname -- $host)" name="$(basename "$d")" url="$(<"$host")" echo "$name: $url"