We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Close IO after you have forked to be a good daemon.
var daemontools = require('daemon-tools'); var cd_to_root = false; var pid = daemontools.start(cd_to_root); daemontools.closeIO();
This will reopen the file handles for STD[IN|OUT|ERR] to /dev/null. Then you won't annoy your system administrators.