daemonize.rb

Path: lib/more/facets/daemonize.rb
Last Update: Thu Jun 24 13:18:25 +0000 2010

Daemonize

Turns the current script into a daemon process that detaches from the console. It can be shut down with a TERM signal.

Authors

  • David Heinemeier Hansson

Copying

  Copyright (c) 2006 David Heinemeier Hansson

  Ruby License

  This module is free software. You may use, modify, and/or redistribute this
  software under the same terms as Ruby.

  This program is distributed in the hope that it will be useful, but WITHOUT
  ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
  FOR A PARTICULAR PURPOSE.

[Validate]