daemon.node icon indicating copy to clipboard operation
daemon.node copied to clipboard

Clarification on daemon management once daemon running?

Open daluu opened this issue 8 years ago • 2 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.

daluu avatar Aug 10 '15 17:08 daluu

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.

daluu avatar Aug 10 '15 18:08 daluu

I don't actively maintain this module right now but would welcome a PR or some wiki pages to help guide new users.

defunctzombie avatar Aug 10 '15 18:08 defunctzombie