node-windows
Advanced tools
Comparing version 0.1.11 to 0.1.12
@@ -452,2 +452,6 @@ /** | ||
*/ | ||
/** | ||
* @event alreadyuninstalled | ||
* Fired if the script is unknown as a service. | ||
*/ | ||
uninstall: { | ||
@@ -462,2 +466,3 @@ enumerable: true, | ||
console.log('Uninstall was skipped because process does not exist or could not be found.'); | ||
this.emit('alreadyuninstalled'); | ||
return; | ||
@@ -581,3 +586,2 @@ } | ||
me.log.warn('An attempt to stop the service failed because the service is/was not running.'); | ||
callback(err); | ||
me.emit('alreadystopped'); | ||
@@ -584,0 +588,0 @@ } else { |
@@ -80,3 +80,3 @@ // Handle input parameters | ||
// Hack to force the wrapper process to stay open by launching a ghost socket server | ||
var server = require('net').createServer().listen(); | ||
var server = require('net').createServer().listen(0, '127.0.0.1'); | ||
@@ -83,0 +83,0 @@ /** |
{ | ||
"name": "node-windows", | ||
"version": "0.1.11", | ||
"version": "0.1.12", | ||
"description": "Support for Windows services, event logging, UAC, and several helper methods for interacting with the OS.", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -250,3 +250,3 @@ # Update (5/21/15) | ||
description: 'The nodejs.org example web server.', | ||
script: 'C:\\path\\to\\helloworld.js'), | ||
script: 'C:\\path\\to\\helloworld.js', | ||
wait: 2, | ||
@@ -253,0 +253,0 @@ grow: .5 |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
181861
1257