pixl-boot 2.0.1 → 2.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/README.md +1 -1
  2. package/boot.js +2 -1
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -162,7 +162,7 @@ boot.uninstall(opts, function(err) {
162
162
 
163
163
  **The MIT License**
164
164
 
165
- Copyright (c) 2016 - 2024 Joseph Huckaby.
165
+ Copyright (c) 2016 - 2026 Joseph Huckaby.
166
166
 
167
167
  Permission is hereby granted, free of charge, to any person obtaining a copy
168
168
  of this software and associated documentation files (the "Software"), to deal
package/boot.js CHANGED
@@ -104,6 +104,7 @@ module.exports = {
104
104
  "Type=" + service_type,
105
105
  "ExecStart=" + args.script + " start",
106
106
  "ExecStop=" + args.script + " stop",
107
+ "KillMode=none",
107
108
  "",
108
109
  "[Install]",
109
110
  "WantedBy=" + wanted_by
@@ -274,7 +275,7 @@ module.exports = {
274
275
  }
275
276
 
276
277
  // looks like we have a systemd service
277
- cp.exec( "systemctl disable " + args.service_name + ".service", function() {
278
+ cp.exec( "systemctl disable " + args.service_name + ".service && systemctl daemon-reload", function() {
278
279
  fs.unlink( args.service_file, callback );
279
280
  } );
280
281
  }); // fs.access
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pixl-boot",
3
- "version": "2.0.1",
3
+ "version": "2.0.2",
4
4
  "description": "Register your service to launch on server startup (Linux / OS X).",
5
5
  "author": "Joseph Huckaby <jhuckaby@gmail.com>",
6
6
  "homepage": "https://github.com/jhuckaby/pixl-boot",