Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

node-linux

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-linux - npm Package Compare versions

Comparing version 0.1.5 to 0.1.6

6

lib/daemon.js

@@ -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 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc