On Tue, 17 Apr 2007 11:36:27 -0400
"Michael Steinfeld" <[EMAIL PROTECTED]> wrote:
It was discussed earlier, but have you tried kill -USR2? It does the
proper restart where it waits for mongrel to stop internally and then
start again with the same command. Here's how you'd change your script:
desc "Make mongrel restart after deployment"
task :after_after_deploy, :roles => :app do
begin
run "sudo killall -USR2 mongrel_rails"
end
Let me know if that works. There *might* be an issue with the current
directory symlinking on restart.
--
Zed A. Shaw, MUDCRAP-CE Master Black Belt Sifu
http://www.zedshaw.com/
http://www.awprofessional.com/title/0321483502 -- The Mongrel Book
http://mongrel.rubyforge.org/
_______________________________________________
Mongrel-users mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/mongrel-users