Hi-

I use Cap for some sys admin stuff, and I am finding that if one "run"
command fails, that the whole task bombs out, why is this?  I didn't
see this anywhere in the docs.  Is there a way to get around this?

For example, if I do the following:

task :cleanup, :roles => "somehost" do
run "/stopTomcat"
run "rm somefile"
run "..."
end

If Tomcat is not running, the task exits, OR, if "somefile" does not
exist, the task exits without running the rest of the commands.

Thanks!
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Capistrano" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.co.uk/group/capistrano?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to