$ npm install initd
A nod wrapper for running init.d scripts in debian systems. The supported actions are:
The all take a single argument, the service, and return the child process. Here is an example of restarting a service:
var initd = ;initd;
man service for more info about supported commands and options.
You can also overide the default behavior of inheriting the stdio for your child processes with the