Clarification on daemon management once daemon running?
daluu opened this issue · comments
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 parent process exited). For example:
- how to stop the daemon?
- how to restart daemon?
- manual restart/start daemon as in the example each time it needs a restart or start up on boot (although yes, it could be added to a startup script or something)?
Best practices for the above questions for use of this daemon node module.
I guess something like this (or a link to it) would have been nice: https://www.digitalocean.com/community/tutorials/how-to-write-a-linux-daemon-with-node-js-on-a-vps
as the example here so far is rather incomplete in terms of overall daemon management.
I don't actively maintain this module right now but would welcome a PR or some wiki pages to help guide new users.