class method
self.graceful
Ruby on Rails 2.2.3
Since v2.2.3 Last seen in v2.2.3Signature
self.graceful(pid)
Forces the (rails) application to gracefully terminate by sending a TERM signal to the process.
Parameters
-
pidreq
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