forked from Spark/ssm-services
		
	
		
			
				
	
	
		
			9 lines
		
	
	
		
			213 B
		
	
	
	
		
			Plaintext
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			9 lines
		
	
	
		
			213 B
		
	
	
	
		
			Plaintext
		
	
	
		
			Executable File
		
	
	
	
	
| #!/usr/bin/env ssm
 | |
| 
 | |
| # For respawn to work, set 'daemon no' in nginx.conf
 | |
| #service_respawn=on-failure
 | |
| service_command='/usr/bin/nginx'
 | |
| service_pidfile='/run/nginx.pid'
 | |
| 
 | |
| pre_reload() { "$service_command" -t "$@"; }
 |