forgot to mention: I use this in my deploy.rb file: set :mongrel_conf, "/var/www/#{application}/current/config/mongrel_cluster.yml"
namespace :deploy do namespace :mongrel do [ :stop, :start, :restart ].each do |t| desc "#{t.to_s.capitalize} the mongrel appserver" task t, :roles => :app do #invoke_command checks the use_sudo variable to determine how to run th$ invoke_command "mongrel_rails cluster::#{t.to_s} -C #{mongrel_conf}", :$ end end end desc "Custom restart task for mongrel cluster" task :restart, :roles => :app, :except => { :no_release => true } do deploy.mongrel.restart end desc "Custom stop task for mongrel cluster" task :stop, :roles => :app do deploy.mongrel.stop end end -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Deploying Rails" group. To post to this group, send email to rubyonrails-deployment@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/rubyonrails-deployment?hl=en -~----------~----~----~----~------~----~------~--~---