I was having a problem with cap deploys where you get:
Couldn't find any pid file in ... matching 'dispatch.[0-9]*.pid'
based on the suggestion of another post I implemented the following in
deploy.rb which does successful terminate all the Ruby process but this
desc "restart override"
task :restart, :roles => :app do
run "killall -9 /usr/local/bin/ruby"
I don't think I'm supposed kill God. My mongrel.rb is supposed to just
god restart mongrels