Module | Process |
In: |
lib/core/facets/process/daemon.rb
|
Turns the current script into a daemon process that detaches from the console. It can be shut down with a TERM signal.
CREDIT: David Heinemeier Hansson