Class

Killer

Extends:

There's no documentation for this item.

Public Methods
graceful Forces the (rails) application to gracefully terminate by sending a TERM signal to the process.
kill Forces the (rails) application to terminate immediately by sending a -9 signal to the process.
new
process Searches for all processes matching the given keywords, and then invokes a specific action on each of them. This is useful for (e.g.) reloading a set of processes:
process
reload Forces the (rails) application to reload by sending a HUP signal to the process.
restart Force the (rails) application to restart by sending a +USR2+ signal to the process.
usr1 Send a +USR1+ signal to the process.
Private Methods
delete_pid_files
find_processes
find_processes_via_grep
pid_files
terminating?
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.