Module: Pakyow::Application::Behavior::Restarting

Extended by:
Support::Extension
Included in:
Pakyow::Application, Plugin
Defined in:
lib/pakyow/application/behavior/restarting.rb

Overview

Handles triggering restarts in the parent process.

Instance Method Summary collapse

Instance Method Details

#touch_restartObject



47
48
49
50
# File 'lib/pakyow/application/behavior/restarting.rb', line 47

def touch_restart
  FileUtils.mkdir_p(File.join(config.root, "tmp"))
  FileUtils.touch(File.join(config.root, "tmp/restart.txt"))
end