--
* You received this message because you are subscribed to the Google Groups "Capistrano" group.
* To post to this group, send email to capis...@googlegroups.com
* To unsubscribe from this group, send email to capistrano+...@googlegroups.com For more options, visit this group at http://groups.google.com/group/capistrano?hl=en
task :check_tomcat_status, :roles => :app dorun "#{sudo} /usr/local/sbin/check_tomcat_status.sh"run "sleep 15s"end
role :app, "127.0.0.1", :tomcat5 => truerole :app, "127.0.0.2", :tomcat6 => true
task :check_tomcat_status, :roles => :app dorun "#{sudo} /sbin/service tomcat5 status", :only => {:tomcat5 => true}run "#{sudo} /sbin/service tomcat6 status", :only => {:tomcat6 => true}run "sleep 15s"end