Sha256: 82571e5304f477d420be00131b9d0ddc9be3d324ddc2e4ef656a08d646187b13

Contents?: true

Size: 292 Bytes

Versions: 59

Compression:

Stored size: 292 Bytes

Contents

Capistrano::Configuration.instance(:must_exist).load do
  namespace :deploy do
    desc 'Trigger application to restart'
    task :restart do
      # The tmp/ directory should be shared, so this affects all prior deployments
      run "touch #{shared_path}/tmp/restart.txt"
    end
  end
end

Version data entries

59 entries across 59 versions & 1 rubygems

Version Path
ndr_dev_support-5.4.5 lib/ndr_dev_support/capistrano/restart.rb
ndr_dev_support-5.4.4 lib/ndr_dev_support/capistrano/restart.rb
ndr_dev_support-5.4.3 lib/ndr_dev_support/capistrano/restart.rb
ndr_dev_support-5.4.2 lib/ndr_dev_support/capistrano/restart.rb
ndr_dev_support-5.4.1 lib/ndr_dev_support/capistrano/restart.rb
ndr_dev_support-5.4.0 lib/ndr_dev_support/capistrano/restart.rb
ndr_dev_support-5.3.1 lib/ndr_dev_support/capistrano/restart.rb
ndr_dev_support-5.3.0 lib/ndr_dev_support/capistrano/restart.rb
ndr_dev_support-5.2.0 lib/ndr_dev_support/capistrano/restart.rb
ndr_dev_support-5.1.0 lib/ndr_dev_support/capistrano/restart.rb
ndr_dev_support-5.0.1 lib/ndr_dev_support/capistrano/restart.rb
ndr_dev_support-5.0.0 lib/ndr_dev_support/capistrano/restart.rb
ndr_dev_support-4.2.1 lib/ndr_dev_support/capistrano/restart.rb
ndr_dev_support-4.2.0 lib/ndr_dev_support/capistrano/restart.rb
ndr_dev_support-4.1.3 lib/ndr_dev_support/capistrano/restart.rb
ndr_dev_support-4.1.2 lib/ndr_dev_support/capistrano/restart.rb
ndr_dev_support-4.1.1 lib/ndr_dev_support/capistrano/restart.rb
ndr_dev_support-4.1.0 lib/ndr_dev_support/capistrano/restart.rb
ndr_dev_support-4.0.0 lib/ndr_dev_support/capistrano/restart.rb