Forum: Ruby on Rails killall kills god

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Grayson P. (Guest)
on 2008-11-15 19:33
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"
end

I don't think I'm supposed kill God.  My mongrel.rb is supposed to just
do a

god restart mongrels
This topic is locked and can not be replied to.