🗃️ Committing everything that changed 🗃️

rootfs/usr/local/etc/docker/init.d/03-tor-server.sh
This commit is contained in:
casjay 2025-01-09 01:50:02 -05:00
parent 570710c6c6
commit cbcac26650
Signed by untrusted user who does not match committer: jason
GPG Key ID: 1AB309F42A764145

View File

@ -299,14 +299,15 @@ HiddenServicePort 80 127.0.0.1:80
EOF EOF
fi fi
if [ -n "$TOR_HIDDEN_SERVERS" ]; then # if [ -n "$TOR_HIDDEN_SERVERS" ]; then
for hidden_server in $TOR_HIDDEN_SERVERS: do # for hidden_server in $TOR_HIDDEN_SERVERS: do
name="$(echo "$hidden_server"|awk -F: '{print $1}')" # name="$(echo "$hidden_server"|awk -F: '{print $1}')"
port="$(echo "$hidden_server"|awk -F: '{print $2}')" # port="$(echo "$hidden_server"|awk -F: '{print $2}')"
host="$(echo "$hidden_server"|awk -F: '{print $3":"$4}')" # host="$(echo "$hidden_server"|awk -F: '{print $3":"$4}')"
echo "" # echo ""
done # done
fi # fi
cat <<EOF >>"$CONF_DIR/server.conf" cat <<EOF >>"$CONF_DIR/server.conf"
##### include configurations ##### include configurations
%include $CONF_DIR/conf.d/*.conf %include $CONF_DIR/conf.d/*.conf