we are using mongrel cluster. is there a way to override the
deploy:restart task? I had to comment out the file script/process/
reaper because it was giving me this error:

Couldn't find any pid file in '/var/www/myapp/current/tmp/pids'
matching 'dispatch.[0-9]*.pid'

I tried to create a task in my deploy.rb:

desc "Restart the mongrel"
task :restart, :roles => :app do
  sudo "/etc/init.d/mongrel.sh stop"
  run "/etc/init.d/mongrel.sh start"
end

but this does not get called... What am I doing wrong?


--~--~---------~--~----~------------~-------~--~----~
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/capistrano
-~----------~----~----~----~------~----~------~--~---

Reply via email to