mirror of
				https://github.com/casjaysdevdocker/tor
				synced 2025-11-03 19:02:39 -05:00 
			
		
		
		
	🗃️ Committing everything that changed 🗃️
	
		
			
	
		
	
	
		
	
		
			Some checks failed
		
		
	
	
		
			
				
	
				release-tag / release-image (push) Has been cancelled
				
			
		
		
	
	
				
					
				
			
		
			Some checks failed
		
		
	
	release-tag / release-image (push) Has been cancelled
				
			rootfs/tmp/etc/privoxy/config rootfs/usr/local/etc/docker/init.d/03-tor-server.sh rootfs/usr/local/etc/docker/init.d/98-privoxy.sh
This commit is contained in:
		@@ -1,3 +1,2 @@
 | 
			
		||||
forward-socks5t / 127.0.0.1:9050 .
 | 
			
		||||
listen-address [::0]:8118
 | 
			
		||||
listen-address 0.0.0.0:8118
 | 
			
		||||
 
 | 
			
		||||
@@ -382,6 +382,7 @@ __post_execute() {
 | 
			
		||||
      done
 | 
			
		||||
      echo "End current hidden services"
 | 
			
		||||
    fi
 | 
			
		||||
    (while :; do sleep 10 && __pgrep $EXEC_CMD_BIN >/dev/null || eval $EXEC_CMD_BIN $EXEC_CMD_ARGS >/dev/null; done &)
 | 
			
		||||
    # show exit message
 | 
			
		||||
    __banner "$postMessageEnd: Status $retVal"
 | 
			
		||||
  ) 2>"/dev/stderr" | tee -p -a "/data/logs/init.txt" &
 | 
			
		||||
 
 | 
			
		||||
@@ -100,9 +100,9 @@ SERVICE_UID="0" # set the user id
 | 
			
		||||
SERVICE_GID="0" # set the group id
 | 
			
		||||
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
 | 
			
		||||
# execute command variables - keep single quotes variables will be expanded later
 | 
			
		||||
EXEC_CMD_BIN='privoxy'           # command to execute
 | 
			
		||||
EXEC_CMD_ARGS='$CONF_DIR/config' # command arguments
 | 
			
		||||
EXEC_PRE_SCRIPT=''               # execute script before
 | 
			
		||||
EXEC_CMD_BIN='privoxy'                       # command to execute
 | 
			
		||||
EXEC_CMD_ARGS='--no-daemon $CONF_DIR/config' # command arguments
 | 
			
		||||
EXEC_PRE_SCRIPT=''                           # execute script before
 | 
			
		||||
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
 | 
			
		||||
# Is this service a web server
 | 
			
		||||
IS_WEB_SERVER="no"
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user