Skip to content

Node daemon is a simple way to start, stop and restart your node based application without having to manage external scripts.

Notifications You must be signed in to change notification settings

theteam/node-daemon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

Node daemon

Node daemon is a simple way to start, stop and restart your node based application without having to manage external scripts.

Usage

Require the module and use the parse function (or daemon.start(), daemon.stop() and daemon.restart() functions directly). This captures the process id and will allow the application to progress if there is no process id but will exit if there is one. When stopping, the pid that has been saved will be killed using the process object.

	var daemon = require('daemon');
	daemon.parse(process.argv[2]);

About

Node daemon is a simple way to start, stop and restart your node based application without having to manage external scripts.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published