🗃️ Committing everything that changed 🗃️

rootfs/tmp/etc/tor/torrc
rootfs/usr/local/etc/docker/init.d/01-tor-bridge.sh
rootfs/usr/local/etc/docker/init.d/01-tor-hidden.sh
rootfs/usr/local/etc/docker/init.d/01-tor-relay.sh
rootfs/usr/local/etc/docker/init.d/01-tor-server.sh
This commit is contained in:
casjay
2025-01-06 13:58:01 -05:00
parent f1472ec2a2
commit daf36c026f
5 changed files with 19 additions and 9 deletions

View File

@@ -242,16 +242,18 @@ __update_conf_files() {
cat <<EOF >"$CONF_DIR/relay.conf"
##### relay
LogMessageDomains 1
Log notice file /data/logs/tor/relay.log
Log notice file $LOG_DIR/relay.log
BridgeRelay 1
PublishServerDescriptor 1
%include /config/tor/relay/*.conf
%include $CONF_DIR/relay/*.conf
EOF
else
exit 1
fi
[ -f "$CONF_DIR/relay/default.conf" ] || touch "$CONF_DIR/relay/default.conf"
# allow custom functions
if builtin type -t __update_conf_files_local | grep -q 'function'; then __update_conf_files_local; fi
# exit function