Sha256: 83fb58404773c16ba77d3f6207e445d1ccf2fde07aea90f9a81e9f77c9ca491c

Contents?: true

Size: 209 Bytes

Versions: 4

Compression:

Stored size: 209 Bytes

Contents

namespace :passenger do
  desc 'Restart Application'
  task :restart do
    on roles :app do
      execute "sudo passenger-config restart-app --ignore-app-not-running #{ fetch(:deploy_to) }"
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
katapult-0.4.1 lib/generators/katapult/basics/templates/lib/capistrano/tasks/passenger.rake
katapult-0.4.0 lib/generators/katapult/basics/templates/lib/capistrano/tasks/passenger.rake
katapult-0.3.0 lib/generators/katapult/basics/templates/lib/capistrano/tasks/passenger.rake
katapult-0.2.0 lib/generators/katapult/basics/templates/lib/capistrano/tasks/passenger.rake