Sha256: d11951742479bdf48537f986fabbf50c369aba6dde1858bcbf7fbd06b921ed8d

Contents?: true

Size: 427 Bytes

Versions: 45

Compression:

Stored size: 427 Bytes

Contents

module CapistranoDeployManagement
  module Passenger
    def self.load_into(configuration)
      configuration.load do

        namespace :passenger do
          desc 'Restart passenger'
          task :restart, :roles => :app, :except => {:no_release => true} do
            run "touch #{current_path}/tmp/restart.txt"
          end
        end

        after 'deploy:restart', 'passenger:restart'

      end
    end
  end
end

Version data entries

45 entries across 45 versions & 1 rubygems

Version Path
capistrano-deploy-management-0.1.47 lib/capistrano-deploy-management/passenger.rb
capistrano-deploy-management-0.1.46 lib/capistrano-deploy-management/passenger.rb
capistrano-deploy-management-0.1.45 lib/capistrano-deploy-management/passenger.rb
capistrano-deploy-management-0.1.44 lib/capistrano-deploy-management/passenger.rb
capistrano-deploy-management-0.1.43 lib/capistrano-deploy-management/passenger.rb
capistrano-deploy-management-0.1.42 lib/capistrano-deploy-management/passenger.rb
capistrano-deploy-management-0.1.41 lib/capistrano-deploy-management/passenger.rb
capistrano-deploy-management-0.1.40 lib/capistrano-deploy-management/passenger.rb
capistrano-deploy-management-0.1.39 lib/capistrano-deploy-management/passenger.rb
capistrano-deploy-management-0.1.38 lib/capistrano-deploy-management/passenger.rb
capistrano-deploy-management-0.1.37 lib/capistrano-deploy-management/passenger.rb
capistrano-deploy-management-0.1.36 lib/capistrano-deploy-management/passenger.rb
capistrano-deploy-management-0.1.35 lib/capistrano-deploy-management/passenger.rb
capistrano-deploy-management-0.1.34 lib/capistrano-deploy-management/passenger.rb
capistrano-deploy-management-0.1.33 lib/capistrano-deploy-management/passenger.rb
capistrano-deploy-management-0.1.32 lib/capistrano-deploy-management/passenger.rb
capistrano-deploy-management-0.1.31 lib/capistrano-deploy-management/passenger.rb
capistrano-deploy-management-0.1.30 lib/capistrano-deploy-management/passenger.rb
capistrano-deploy-management-0.1.29 lib/capistrano-deploy-management/passenger.rb
capistrano-deploy-management-0.1.28 lib/capistrano-deploy-management/passenger.rb