niegowski/node-daemonize2 — pull request #8 by objectundefined (2013-03-27 21:04:01+00:00)
Title: I've added a few options to Daemon

These were initially options I needed to move forward, but I think they are useful in general.

First, the ability to send file handles to stdout and stderr so that you can write or append output to a file.

Second, i've added a "data" property that, if set, gets curried to the child process on the init event (child.send({type:init,options....). This is often more favorable than argv.

Third, i've added a "leaveRef" property that allows one to decide weather or not a daemon should be "unref'd".

I have a process that instantiates a number of daemons and this facilitates communication between then.

Thank you,

Gabriel