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

- old
+ new

@@ -2,27 +2,27 @@ namespace :mongrel do desc <<-DESC Start Mongrel processes on the app server. This uses the :use_sudo variable to determine whether to use sudo or not. By default, :use_sudo is set to true. DESC - task :start, :roles => [:app, :mongrel], :except => {:mongrel => false} do + task :start, :roles => [:app], :except => {:mongrel => false} do sudo "/usr/bin/monit start all -g #{monit_group}" end desc <<-DESC Restart the Mongrel processes on the app server by starting and stopping the cluster. This uses the :use_sudo variable to determine whether to use sudo or not. By default, :use_sudo is set to true. DESC - task :restart, :roles => [:app, :mongrel], :except => {:mongrel => false} do + task :restart, :roles => [:app], :except => {:mongrel => false} do sudo "/usr/bin/monit restart all -g #{monit_group}" end desc <<-DESC Stop the Mongrel processes on the app server. This uses the :use_sudo variable to determine whether to use sudo or not. By default, :use_sudo is set to true. DESC - task :stop, :roles => [:app, :mongrel], :except => {:mongrel => false} do + task :stop, :roles => [:app], :except => {:mongrel => false} do sudo "/usr/bin/monit stop all -g #{monit_group}" end end end \ No newline at end of file