Module Daemonize
In: lib/daemons/daemonize.rb

Methods

Public Instance methods

Transform the current process into a daemon

Free $stdin/$stdout/$stderr file descriptors and point them somewhere sensible

Try to fork if at all possible retrying every 5 sec if the maximum process limit for the system has been reached

Simulate the daemonization process (:ontop mode) NOTE: $stdout and $stderr will not be redirected to the logfile, because in :ontop mode, we normally want to see the output

[Validate]