Sha256: d00ae722fcd1678550757a1329e84dea23308ae7997b02d477bea55022713914

Contents?: true

Size: 534 Bytes

Versions: 5

Compression:

Stored size: 534 Bytes

Contents

Capistrano::Configuration.instance(:must_exist).load do
  namespace :deploy do
  
    desc <<-DESC
    Start the application server processes.
    DESC
    task :start, :roles => :app do
      application_servlet.start
    end

    desc <<-DESC
    Restart the application server processes.
    DESC
    task :restart, :roles => :app do
      application_servlet.restart
    end

    desc <<-DESC
    Stop the application server processes. 
    DESC
    task :stop, :roles => :app do
      application_servlet.stop
    end

  end

end

Version data entries

5 entries across 5 versions & 2 rubygems

Version Path
railsmachine-railsmachine-1.0.4 lib/railsmachine/recipes/app/deploy.rb
railsmachine-railsmachine-1.0.5 lib/railsmachine/recipes/app/deploy.rb
railsmachine-1.0.6 lib/railsmachine/recipes/app/deploy.rb
railsmachine-1.0.4 lib/railsmachine/recipes/app/deploy.rb
railsmachine-1.0.5 lib/railsmachine/recipes/app/deploy.rb