mirror of
				https://github.com/casjaysdevdocker/tor
				synced 2025-11-04 07:02:27 -05:00 
			
		
		
		
	🗃️ Committing everything that changed 🗃️
rootfs/usr/local/etc/docker/init.d/zz-nginx.sh
This commit is contained in:
		@@ -258,10 +258,10 @@ __update_conf_files() {
 | 
			
		||||
  # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
 | 
			
		||||
  # define actions
 | 
			
		||||
  while :; do
 | 
			
		||||
    printf '\r%s' "waiting for tor to start"
 | 
			
		||||
    echo "waiting for tor to start"
 | 
			
		||||
    [ -f "/tmp/init_tor_services" ] && sleep 30 || break
 | 
			
		||||
  done
 | 
			
		||||
  printf '\r%s\n' "The tor server seems to have started                                    "
 | 
			
		||||
  echo "The tor server seems to have started                                    "
 | 
			
		||||
  for site in "/run/tor/sites"/*; do
 | 
			
		||||
    onion_site="$(basename -- $site)"
 | 
			
		||||
    mkdir -p "/data/htdocs/onions/$onion_site"
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user