mirror of
				https://github.com/retspen/webvirtcloud
				synced 2025-07-31 12:41:08 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			8 lines
		
	
	
	
		
			175 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable file
		
	
	
	
	
			
		
		
	
	
			8 lines
		
	
	
	
		
			175 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable file
		
	
	
	
	
| #!/bin/bash
 | |
| # Forwards the Nginx error.log to the Docker logs.
 | |
| set -e
 | |
| if [[ -e /var/log/nginx/error.log ]]; then
 | |
| 	exec tail -F /var/log/nginx/error.log
 | |
| else
 | |
| 	exec sleep 10
 | |
| fi
 |