node-linux
Advanced tools
Comparing version 0.1.5 to 0.1.6
@@ -55,3 +55,3 @@ /** | ||
var hasSystemD = function() { | ||
return fs.existsSync("/usr/bin/systemctl"); | ||
return fs.existsSync("/usr/bin/systemctl") || fs.existsSync("/bin/systemctl"); | ||
} | ||
@@ -185,4 +185,4 @@ var hasUpstart = function() { | ||
enumerable: true, | ||
get: function(){ | ||
return fs.existsSync('/etc/init.d/'+this.label); | ||
value: function(){ | ||
return this.generator.exists; | ||
} | ||
@@ -189,0 +189,0 @@ }, |
{ | ||
"name": "node-linux", | ||
"version": "0.1.5", | ||
"version": "0.1.6", | ||
"description": "Support daemon creation and management on Linux.", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -147,3 +147,3 @@ # Updates | ||
console.log('Uninstall complete.'); | ||
console.log('The service exists: ',svc.exists); | ||
console.log('The service exists: ',svc.exists()); | ||
}); | ||
@@ -150,0 +150,0 @@ |
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
70075