search for: after_after_deploy

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

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
2007 Apr 03
2
mongrel cluster restart with capistrano fails but manually works
...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/mongrel_cluster start" end </snip> Hopefully someone can see something that I don''t. Thanks for your time -- -mike