5 lines
		
	
	
		
			178 B
		
	
	
	
		
			Bash
		
	
	
	
	
	
			
		
		
	
	
			5 lines
		
	
	
		
			178 B
		
	
	
	
		
			Bash
		
	
	
	
	
	
| #!/bin/bash
 | |
| # The logic to stop your application should be put in this script.
 | |
| kill -9 `ps -ef | grep "rails server" | grep -v grep | awk '{ print $2 }'` > /dev/null 2>&1
 | |
| exit 0
 |