How can I pass parameters to the script to be run as a Windows service ?
var svc = new Service({
name:'Hello World',
description: 'The nodejs.org example web server.',
script: 'C:\path\to\helloworld.js',
params: '--port 8010 --log "C:\path\to\helloworld.log" '
});
How can I pass parameters to the script to be run as a Windows service ?
var svc = new Service({ name:'Hello World', description: 'The nodejs.org example web server.', script: 'C:\path\to\helloworld.js', params: '--port 8010 --log "C:\path\to\helloworld.log" ' });