Browse files

! Unicorn server killing mechanism

  • Loading branch information...
1 parent ef89c47 commit 2e3d0879b3d6170a6fbaf04f22ae39c4748b6b03 @floere committed Mar 1, 2013
Showing with 2 additions and 2 deletions.
  1. +2 −2 integration
View
4 integration
@@ -152,12 +152,12 @@ end
def kill_server
puts "Killing server (if there)"
- system "ps ax | grep 'unicorn master -c unicorn.rb' | awk '{print $1}' | xargs kill"
+ system "ps ax | grep '/\\bunicorn' | awk '{print $1}' | xargs kill"
end
def kill_client
puts "Killing client (if there)"
- system "ps ax | grep 'unicorn master -p 3210' | awk '{print $1}' | xargs kill"
+ system "ps ax | grep '/\bunicorn -p 3210' | awk '{print $1}' | xargs kill"
end
def delete_server_directory

0 comments on commit 2e3d087

Please sign in to comment.