[ops] Set kill script to always return true
This commit is contained in:
		
							parent
							
								
									b4c5d9e060
								
							
						
					
					
						commit
						0369af7abe
					
				@ -1,8 +1,21 @@
 | 
			
		||||
#!/usr/bin/env zsh
 | 
			
		||||
 | 
			
		||||
# kill "while true" loops
 | 
			
		||||
killall sh
 | 
			
		||||
 | 
			
		||||
# kill actual node backends
 | 
			
		||||
killall node
 | 
			
		||||
 | 
			
		||||
# kill unfurler chrome instances
 | 
			
		||||
killall chrome
 | 
			
		||||
 | 
			
		||||
# kill xorg
 | 
			
		||||
killall xinit
 | 
			
		||||
 | 
			
		||||
# kill nginx cache warmer scripts
 | 
			
		||||
for pid in `ps uaxww|grep warmer|grep zsh|awk '{print $2}'`;do
 | 
			
		||||
    kill $pid
 | 
			
		||||
done
 | 
			
		||||
 | 
			
		||||
# always exit successfully despite above errors
 | 
			
		||||
exit 0
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user