static public Method

Killer.graceful(pid)

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

Source Code

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

Have your say
Please use Textile formatting (click here for a cheat sheet). Use <code/> and <pre/> for code samples.
Click here to login with OpenID to to post comments.