mirror of
				https://github.com/casjaysdevdocker/tor
				synced 2025-11-04 01:02:49 -05:00 
			
		
		
		
	🗃️ Committing everything that changed 🗃️
rootfs/usr/local/etc/docker/init.d/03-tor-server.sh
This commit is contained in:
		@@ -352,12 +352,12 @@ __post_execute() {
 | 
			
		||||
  sleep $waitTime
 | 
			
		||||
  # execute commands after waiting
 | 
			
		||||
  (
 | 
			
		||||
    # show message
 | 
			
		||||
    __banner "$postMessageST"
 | 
			
		||||
    # commands to execute
 | 
			
		||||
    while :; do
 | 
			
		||||
      pgrep unbound && break || sleep 30
 | 
			
		||||
      pgrep -q unbound && break || sleep 30
 | 
			
		||||
    done
 | 
			
		||||
    # show message
 | 
			
		||||
    __banner "$postMessageST"
 | 
			
		||||
    if [ -d "$DATA_DIR/services" ]; then
 | 
			
		||||
      [ -f "$WWW_ROOT_DIR/hostnames.html" ] && rm -f "$WWW_ROOT_DIR/hostnames.html"
 | 
			
		||||
      for d in "$DATA_DIR/services"/*;do
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user