Module: Chinook::Capistrano::Passenger
- Defined in:
- lib/chinook/capistrano/passenger.rb
Class Method Summary collapse
Class Method Details
.load_into(configuration) ⇒ Object
6 7 8 9 10 11 12 13 14 15 |
# File 'lib/chinook/capistrano/passenger.rb', line 6 def self.load_into(configuration) configuration.load do namespace :deploy do desc 'Restarts Passenger by touching tmp/restart.txt.' task :restart, roles: :app, except: { no_release: true } do run "touch #{current_path}/tmp/restart.txt" end end end end |