lib/eycap/recipes/tomcat.rb in engineyard-eycap-0.3.8 vs lib/eycap/recipes/tomcat.rb in engineyard-eycap-0.3.9

- old
+ new

@@ -1,16 +1,16 @@ Capistrano::Configuration.instance(:must_exist).load do namespace :tomcat do desc "Start tomcat" - task :start, :roles => [:app, :tomcat], :only => {:tomcat => true} do + task :start, :roles => [:app], :only => {:tomcat => true} do sudo "/etc/init.d/tomcat start" end desc "Stop tomcat" - task :stop, :roles => [:app, :tomcat], :only => {:tomcat => true} do + task :stop, :roles => [:app], :only => {:tomcat => true} do sudo "/etc/init.d/tomcat stop" end desc "Restart tomcat" - task :restart, :roles => [:app, :tomcat], :only => {:tomcat => true} do + task :restart, :roles => [:app], :only => {:tomcat => true} do sudo "/etc/init.d/tomcat restart" end end end \ No newline at end of file