Sha256: 276e6a51c503244127e9fca2492507b2d1f48e0236f465363b4c394d7ec76153
Contents?: true
Size: 623 Bytes
Versions: 14
Compression:
Stored size: 623 Bytes
Contents
# encoding: utf-8 module MagicRecipes module Passenger def self.load_into(configuration) configuration.load do set_default :pre_start, false # => pre_start the first domain ? namespace :passenger do # Restart Passenger 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
14 entries across 14 versions & 1 rubygems