| 
									
										
										
										
											2017-07-13 16:09:42 +03:00
										 |  |  | #!/usr/bin/env ssm | 
					
						
							| 
									
										
										
										
											2014-07-26 13:33:26 +04:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2015-09-15 12:28:17 +03:00
										 |  |  | # For respawn to work, set 'daemon no' in nginx.conf | 
					
						
							| 
									
										
										
										
											2018-03-08 02:34:49 +03:00
										 |  |  | #service_respawn=on-failure | 
					
						
							| 
									
										
										
										
											2014-07-26 13:33:26 +04:00
										 |  |  | service_command='/usr/bin/nginx' | 
					
						
							|  |  |  | service_pidfile='/run/nginx.pid' | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2018-03-08 02:43:19 +03:00
										 |  |  | pre_reload() { "$service_command" -t "$@"; } |