mirror of
				https://github.com/casjaysdevdocker/tor
				synced 2025-10-31 02:02:32 -04:00 
			
		
		
		
	🗃️ Update codebase 🗃️
rootfs/usr/local/bin/entrypoint.sh rootfs/usr/local/etc/docker/functions/entrypoint.sh rootfs/usr/local/etc/docker/init.d/01-tor-bridge.sh rootfs/usr/local/etc/docker/init.d/02-tor-relay.sh rootfs/usr/local/etc/docker/init.d/03-tor-server.sh rootfs/usr/local/etc/docker/init.d/09-unbound.sh rootfs/usr/local/etc/docker/init.d/98-privoxy.sh rootfs/usr/local/etc/docker/init.d/zz-nginx.sh
This commit is contained in:
		| @@ -110,8 +110,8 @@ SERVICE_PORT="" | ||||
| RUNAS_USER="root" # normally root | ||||
| # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | ||||
| # User and group in which the service switches to - IE: nginx,apache,mysql,postgres | ||||
| #SERVICE_USER="tor"  # execute command as another user | ||||
| #SERVICE_GROUP="tor" # Set the service group | ||||
| SERVICE_USER="root"  # execute command as another user | ||||
| SERVICE_GROUP="root" # Set the service group | ||||
| # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | ||||
| # Set password length | ||||
| RANDOM_PASS_USER="" | ||||
| @@ -389,7 +389,8 @@ __post_execute() { | ||||
| 	( | ||||
| 		# commands to execute | ||||
| 		while :; do | ||||
| 			if pgrep unbound >/dev/null 2>&1; then | ||||
| 			if __pgrep unbound >/dev/null 2>&1; then | ||||
| 				get_hidden_service_hostnames=$(find "$DATA_DIR/services" -iname 'hostname' 2>/dev/null | wc -l || echo "0") | ||||
| 				break | ||||
| 			else | ||||
| 				sleep 10 | ||||
| @@ -400,8 +401,8 @@ __post_execute() { | ||||
| 		if [ -d "/data/htdocs/www" ]; then | ||||
| 			WWW_ROOT_DIR="/data/htdocs/www" | ||||
| 		fi | ||||
| 		if [ -d "$DATA_DIR/services" ]; then | ||||
| 			echo "Begin current hidden services"htdocs | ||||
| 		if [ -d "$DATA_DIR/services" ] && [ "$get_hidden_service_hostnames" -gt 0 ]; then | ||||
| 			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)" | ||||
|   | ||||
		Reference in New Issue
	
	Block a user