search for: before_before_deploy

Displaying 2 results from an estimated 2 matches for "before_before_deploy".

2007 Apr 03
2
mongrel cluster restart with capistrano fails but manually works
...ine on ports 8000 - 8009. I was thinking that dispatch was screwing up ports 8000-04 somehow.. ( totally guessing ) I was thinking about writing a task similar to below... but I think it is overkill. desc "Kill all the pids in case there are some zombies and remove the .pid files" task :before_before_deploy, roles => :app do begin run "sudo kill -9 `ps -ef | grep mongrel | egrep -v grep | awk ''{print $2}''`" run "cd /home/user/app/log && sudo rm -rf *.pid" end task :after_after_deploy, roles => :app do begin " sudo /etc/init.d/...
2007 Apr 17
7
problem restarting mongrel_cluster outside RAILS_ROOT - patch and other option
Hey folks. Sorry for the SUPER long email but if you''ve been experiencing the same problems with restarting your mongrel cluster with Capistrano, then I have two solutions that have worked for me and I''m pretty sure will for you as well. THE PROBLEM I was having trouble restarting my clusters using Capistrano. I''ve seen this come up before on the mailing list and