daemon.node
daemon.node copied to clipboard
A node.JS addon that helps to create *nix daemons in Javascript
After upgrading to Node 8, we have an error on startup when launching a NodeBB server. This issue has been documented here : https://community.nodebb.org/topic/10765/error-starting-nodebb-after-upgrade And here is the full error...
I feel like this is a common use case and that's why I'm putting a snippet in the README.md
The fix is quite obvious, but i really really don't know what was happening before Node 8 decided to enforce the parameters validation of `child_process.spawn()` ?
I discovered that if my node script was launched with any Node CLI flags such as `--enable_gc` (which exposes the internal Node Garbage Collector), this flag does not pass down...
Hi, I'm a new to *nix daemons and node.js. From the readme examples, it's not clear how the daemon management occurs once the daemon is started (running script forked and...
``` javascript // this code is run twice // see implementation notes below console.log(process.pid); // after this point, we are a daemon require('daemon')(); //As stdout is closed here. process.pid will...
old Github links are replaced with new ones