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
-- 
Posted via http://www.ruby-forum.com/.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to