View Single Post
  #1  
Old 10-16-2007, 07:33 PM
rubyjuice rubyjuice is offline
New Member
 
Join Date: Aug 2007
Posts: 8
Default Capistrano Recipes (a working restart?)

Anyone have a working Capistrano recipe? I'm currently using:

task :restart, :roles => :app do
sudo "#{lsws_cmd} restart"
end

Unfortunately, on my first restart attempt, Capistrano returns an error:

* executing "sudo /opt/lsws/bin/lswsctrl restart"
servers: ["test.local"]
[test.local] executing command
** [out :: test.local]

The last line is unexpected. For a period of about 5 minutes after the first restart attempt, it completes successfully with the final expected line of:

[test.local] executing command

Anyone know what's going on? Or, better yet, do you have a working recipe?

Last edited by rubyjuice; 10-23-2007 at 11:21 PM..
Reply With Quote