Sha256: c7d0c60e53f2ba5e43ed71c56f4733fdb153339f216f65772fedd3aa63982014

Contents?: true

Size: 621 Bytes

Versions: 35

Compression:

Stored size: 621 Bytes

Contents

Capistrano::Configuration.instance.load do

    namespace :passenger do
    desc "Restart Application"
    task :restart do
      run "touch #{current_path}/tmp/restart.txt"
    end
  end

  namespace :deploy do
    #desc "Archive images from public tree"
    #task :archive_images do
    #  run "tar -c public/system > images.tar"
    #end
    #
    #desc "Install images into deployed public tree"
    #task :install_images do
    #  # scp images to server
    #  # untar images into public/
    #end

    task :restart do
      passenger.restart
    end

    task :start do
    end

    task :stop do
    end
  end
end

Version data entries

35 entries across 35 versions & 2 rubygems

Version Path
caploy-0.2.5 lib/caploy/recipes/passenger.rb
caploy-0.2.4 lib/caploy/recipes/passenger.rb
caploy-0.2.3 lib/caploy/recipes/passenger.rb
caploy-0.2.2 lib/caploy/recipes/passenger.rb
caploy-0.2.1 lib/caploy/recipes/passenger.rb
caploy-0.2.0 lib/caploy/recipes/passenger.rb
caploy-0.1.12 lib/caploy/recipes/passenger.rb
caploy-0.1.11 lib/caploy/recipes/passenger.rb
caploy-0.1.10 lib/caploy/recipes/passenger.rb
caploy-0.1.9 lib/caploy/recipes/passenger.rb
caploy-0.1.8 lib/caploy/recipes/passenger.rb
caploy-0.1.7 lib/caploy/recipes/passenger.rb
caploy-0.1.6 lib/caploy/recipes/passenger.rb
caploy-0.1.5 lib/caploy/recipes/passenger.rb
caploy-0.1.4 lib/caploy/recipes/passenger.rb
caploy-0.1.3 lib/caploy/recipes/passenger.rb
caploy-0.1.2 lib/caploy/recipes/passenger.rb
caploy-0.1.1 lib/caploy/recipes/passenger.rb
caploy-0.1.0 lib/caploy/recipes/passenger.rb
ms_deploy-0.3.6 lib/ms_deploy/recipes/passenger.rb