Sha256: 32e68571da38d02115055418c2604d54950b952fd1070d84f95fbf406ef64694
Contents?: true
Size: 777 Bytes
Versions: 5
Compression:
Stored size: 777 Bytes
Contents
# encoding: utf-8 module MagicRecipes module Passenger # Passenger - Deploy # # Tasks: # task :restart # => Restart Phusion-Passenger # # Callbacks: # after "deploy:restart", "passenger:restart" # def self.load_into(configuration) configuration.load do set_default :pre_start, false # => pre_start the first domain ? namespace :passenger do desc "Restart - Passenger" task :restart, :roles => :app, :except => { :no_release => true } do run "#{try_sudo} touch #{File.join(current_path,'tmp','restart.txt')}" end after "deploy:restart", "passenger:restart" end end end end end
Version data entries
5 entries across 5 versions & 1 rubygems