class method self.restart

Ruby on Rails 2.2.3

Last seen in v2.2.3

Signature

self.restart(pid)

Force the (rails) application to restart by sending a USR2 signal to the process.

Parameters

pid req
Source
# File railties/lib/commands/process/reaper.rb, line 26
    def restart(pid)
      `kill -s USR2 #{pid}`
    end

Defined in railties/lib/commands/process/reaper.rb line 26 · View on GitHub · Improve this page · Find usages on GitHub

Defined in Killer

Type at least 2 characters to search.

Use the arrow keys to navigate results, Enter to open one, Escape to close.

Keyboard shortcuts

/
Focus search
⌘K / Ctrl-K
Command palette
?
This help
Esc
Close