mirror of
				https://github.com/casjaysdevdocker/tor
				synced 2025-11-04 07:02:27 -05:00 
			
		
		
		
	🗃️ Committing everything that changed 🗃️
	
		
			
	
		
	
	
		
	
		
			Some checks failed
		
		
	
	
		
			
				
	
				release-tag / release-image (push) Failing after 1m11s
				
			
		
		
	
	
				
					
				
			
		
			Some checks failed
		
		
	
	release-tag / release-image (push) Failing after 1m11s
				
			Jenkinsfile rootfs/usr/local/bin/entrypoint.sh rootfs/usr/local/etc/docker/functions/
This commit is contained in:
		@@ -88,7 +88,7 @@ SERVER_PORTS="" # specifiy other ports
 | 
			
		||||
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
 | 
			
		||||
# Healthcheck variables
 | 
			
		||||
HEALTH_ENABLED="yes"                                                # enable healthcheck [yes/no]
 | 
			
		||||
SERVICES_LIST="tini,tor-server,tor-relay,tor-bridge,privoxy,unbound,php" # comma seperated list of processes for the healthcheck
 | 
			
		||||
SERVICES_LIST="tini,tor-bridge,tor-relay,tor-server,unbound,privoxy,zz-nginx"
 | 
			
		||||
HEALTH_ENDPOINTS=""                                                 # url endpoints: [http://localhost/health,http://localhost/test]
 | 
			
		||||
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
 | 
			
		||||
# Update path var
 | 
			
		||||
@@ -360,8 +360,14 @@ if [ "$ENTRYPOINT_FIRST_RUN" != "no" ]; then
 | 
			
		||||
  __setup_mta
 | 
			
		||||
fi
 | 
			
		||||
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
 | 
			
		||||
# if no pid assume container restart
 | 
			
		||||
[ -f "$ENTRYPOINT_PID_FILE" ] && [ -f "/run/__start_init_scripts.pid" ] || START_SERVICES="yes"
 | 
			
		||||
# if no pid assume container restart - clean stale files on restart
 | 
			
		||||
if [ ! -f "$ENTRYPOINT_PID_FILE" ]; then 
 | 
			
		||||
  START_SERVICES="yes"
 | 
			
		||||
  # Clean stale pid files from previous container runs
 | 
			
		||||
  rm -f /run/__start_init_scripts.pid /run/init.d/*.pid /run/*.pid
 | 
			
		||||
elif [ ! -f "/run/__start_init_scripts.pid" ]; then
 | 
			
		||||
  START_SERVICES="yes" 
 | 
			
		||||
fi
 | 
			
		||||
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
 | 
			
		||||
[ "$ENTRYPOINT_MESSAGE" = "yes" ] && __printf_space "40" "Container ip address is:" "$CONTAINER_IP4_ADDRESS"
 | 
			
		||||
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										1173
									
								
								rootfs/usr/local/etc/docker/functions/entrypoint.sh
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										1173
									
								
								rootfs/usr/local/etc/docker/functions/entrypoint.sh
									
									
									
									
									
										Normal file
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							
		Reference in New Issue
	
	Block a user