||A toolkit to convert your script to a controllable daemon
||2005-02-08 12:24:15 GMT
||2006-08-30 20:42:46 GMT
(Projects of this owner)
Daemons provides an easy way to wrap existing ruby scripts (for example a self-written server) to be run as a daemon and to be controlled by simple start/stop/restart commands.
If you want, you can also use daemons to run blocks of ruby code in a daemon process and to control
these processes from the main application.
It uses daemonize.rb written by Travis Whitton to fork into the background, close file descriptors, set umask and so on.