Killall kills god

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
includes God.

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
do a

god restart mongrels

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs