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
ms_deploy-0.3.5 lib/ms_deploy/recipes/passenger.rb
ms_deploy-0.3.4 lib/ms_deploy/recipes/passenger.rb
ms_deploy-0.3.3 lib/ms_deploy/recipes/passenger.rb
ms_deploy-0.3.2 lib/ms_deploy/recipes/passenger.rb
ms_deploy-0.3.1 lib/ms_deploy/recipes/passenger.rb
ms_deploy-0.3.0 lib/ms_deploy/recipes/passenger.rb
ms_deploy-0.2.5 lib/ms_deploy/recipes/passenger.rb
ms_deploy-0.2.4 lib/ms_deploy/recipes/passenger.rb
ms_deploy-0.2.3 lib/ms_deploy/recipes/passenger.rb
ms_deploy-0.2.2 lib/ms_deploy/recipes/passenger.rb
ms_deploy-0.2.1 lib/ms_deploy/recipes/passenger.rb
ms_deploy-0.2.0 lib/ms_deploy/recipes/passenger.rb
ms_deploy-0.1.9 lib/ms_deploy/recipes/passenger.rb
ms_deploy-0.1.8 lib/ms_deploy/recipes/passenger.rb
ms_deploy-0.1.7 lib/ms_deploy/recipes/passenger.rb