Sha256: e2de7cc77160ebb3cc2c307cc7b05dcb2fce62151c569a29a9236890791721c7
Contents?: true
Size: 805 Bytes
Versions: 2
Compression:
Stored size: 805 Bytes
Contents
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."} DESC task :start, :roles => :app do application_servlet.start end desc <<-DESC Restart the #{app_server} processes on the app server. 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."} DESC task :stop, :roles => :app do application_servlet.stop end end end
Version data entries
2 entries across 2 versions & 2 rubygems
Version | Path |
---|---|
railsmachine-railsmachine-1.0.3 | lib/railsmachine/recipes/app/deploy.rb |
railsmachine-1.0.3 | lib/railsmachine/recipes/app/deploy.rb |