Sha256: 78577fa9e79d5300ead400d48e20f2633374809bea496de21995491905a029e8

Contents?: true

Size: 334 Bytes

Versions: 5

Compression:

Stored size: 334 Bytes

Contents

require 'deprec-core'
Capistrano::Configuration.instance(:must_exist).load do

  namespace :deploy do
    task :start do ; end
    task :stop do ; end
    task :restart, :roles => :app, :except => { :no_release => true } do
      # no need for sudo?
      run "touch #{File.join(current_path,'tmp','restart.txt')}"
    end
  end

end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
deprec-3.1.0.rc16 lib/deprec/callbacks/passenger.rb
deprec-3.1.0.rc15 lib/deprec/callbacks/passenger.rb
deprec-3.1.0.rc13 lib/deprec/callbacks/passenger.rb
deprec-3.1.0.rc12 lib/deprec/callbacks/passenger.rb
deprec-3.1.0.rc11 lib/deprec/callbacks/passenger.rb