lib/railsmachine/recipes/app/deploy.rb in railsmachine-railsmachine-1.0.3 vs lib/railsmachine/recipes/app/deploy.rb in railsmachine-railsmachine-1.0.4

- old
+ new

@@ -1,24 +1,23 @@ Capistrano::Configuration.instance(:must_exist).load do - load 'config/deploy' namespace :deploy do desc <<-DESC - #{app_server.to_s == 'mongrel' ? "Start the mongrel processes on the app server." : "This task no effect when using Passenger as your application server."} + Start the application server processes. DESC task :start, :roles => :app do application_servlet.start end desc <<-DESC - Restart the #{app_server} processes on the app server. + Restart the application server processes. DESC task :restart, :roles => :app do application_servlet.restart end desc <<-DESC - #{app_server.to_s == 'mongrel' ? "Stop the mongrel processes on the app server." : "This task no effect when using Passenger as your application server."} + Stop the application server processes. DESC task :stop, :roles => :app do application_servlet.stop end \ No newline at end of file