mirror of
https://github.com/casjaysdevdocker/tor
synced 2025-05-11 14:11:20 -04:00
🗃️ Committing everything that changed 🗃️
rootfs/usr/local/etc/docker/init.d/03-tor-server.sh
This commit is contained in:
parent
88e431243e
commit
10d54ea9cf
@ -377,6 +377,7 @@ __post_execute() {
|
|||||||
echo "Begin current hidden services"
|
echo "Begin current hidden services"
|
||||||
[ -f "$WWW_ROOT_DIR/hostnames.html" ] && rm -f "$WWW_ROOT_DIR/hostnames.html"
|
[ -f "$WWW_ROOT_DIR/hostnames.html" ] && rm -f "$WWW_ROOT_DIR/hostnames.html"
|
||||||
for host in "$DATA_DIR/services"/*/hostname; do
|
for host in "$DATA_DIR/services"/*/hostname; do
|
||||||
|
d="$(dirname -- $host)"
|
||||||
name="$(basename "$d")"
|
name="$(basename "$d")"
|
||||||
url="$(<"$host")"
|
url="$(<"$host")"
|
||||||
echo "$name: $url"
|
echo "$name: $url"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user