class method self.graceful

Ruby on Rails 2.2.3

Since v2.2.3 Last seen in v2.2.3

Signature

self.graceful(pid)

Forces the (rails) application to gracefully terminate by sending a TERM signal to the process.

Parameters

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

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

Defined in Killer

Type at least 2 characters to search.

↑↓ navigate · open · esc close