Using tini for init on backend
							parent
							
								
									ab89389c1a
								
							
						
					
					
						commit
						d1fc54f9b1
					
				@ -0,0 +1,9 @@
 | 
			
		||||
#!/usr/bin/env bash
 | 
			
		||||
 | 
			
		||||
# tell tini that it's a subreaper if we're exec'ing in
 | 
			
		||||
if [ "$$" -ne 1 ]; then
 | 
			
		||||
    export TINI_SUBREAPER=true
 | 
			
		||||
fi
 | 
			
		||||
 | 
			
		||||
#  -g: Send signals to the child's process group.
 | 
			
		||||
exec tini -g -- "$@"
 | 
			
		||||
					Loading…
					
					
				
		Reference in New Issue