Sha256: 54b3a6f6216d5c5c06f19698cb79d6b08f7a870612516b763125c22cc6af0c50

Contents?: true

Size: 267 Bytes

Versions: 3

Compression:

Stored size: 267 Bytes

Contents

require 'blazing/recipe'

class Blazing::Recipe::PassengerRestart < Blazing::Recipe

  def run(target_options = {})
    super target_options

    info 'Restarting passenger'
    Dir.mkdir('tmp') unless File.exists? 'tmp'
    system 'touch tmp/restart.txt'
  end

end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
blazing-passenger-0.2.4 lib/blazing-passenger/recipes/passenger_restart.rb
blazing-passenger-0.2.3 lib/blazing-passenger/recipes/passenger_restart.rb
blazing-passenger-0.2.2 lib/blazing-passenger/recipes/passenger_restart.rb