PDA

View Full Version : Capistrano Recipes for (re)starting Mongrel (cluster)?


rubyonrails-talk
August 26th, 2006, 07:26 PM
Here's what I have in my deploy.rb:
desc "Restart the web server"
task :restart, :roles => :app do
run "cd #{current_path}; mongrel_rails cluster::stop -C
run "cd #{current_path}; mongrel_rails cluster::start -C
end
I've tried various other lines, but Mongrel and/or cluster couldn't find
configs, or logs. And it also seems mongrel_cluster expects to find

More... (http://groups.google.com/group/rubyonrails-talk/msg/777aba85fb68e296)