lib/capistrano-deploy-management/passenger.rb in capistrano-deploy-management-0.1.0 vs lib/capistrano-deploy-management/passenger.rb in capistrano-deploy-management-0.1.1

- old
+ new

@@ -1,16 +1,18 @@ 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 +end \ No newline at end of file