@kronos-integration/service-systemd 5.0.0 → 5.1.0

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.
package/LICENSE CHANGED
@@ -1,4 +1,4 @@
1
- Copyright (C) 2019-2025 by arlac77
1
+ Copyright (C) 2019-2026 by arlac77
2
2
 
3
3
  Permission to use, copy, modify, and/or distribute this software for any
4
4
  purpose with or without fee is hereby granted.
package/README.md CHANGED
@@ -44,7 +44,6 @@ kronos systemd integration
44
44
  * [Parameters](#parameters-3)
45
45
  * [getCredentials](#getcredentials)
46
46
  * [Parameters](#parameters-4)
47
- * [endpoints](#endpoints)
48
47
 
49
48
  ## JournalLogger
50
49
 
@@ -142,14 +141,6 @@ Deliver credentials as provided by systemd.
142
141
 
143
142
  Returns **[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)<[Array](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array)<([Uint8Array](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array) | [string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String))>>**&#x20;
144
143
 
145
- ### endpoints
146
-
147
- Definition of the predefined endpoints.
148
-
149
- * info *in*
150
-
151
- Returns **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)** predefined endpoints
152
-
153
144
  # install
154
145
 
155
146
  With [npm](http://npmjs.org) do:
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@kronos-integration/service-systemd",
3
- "version": "5.0.0",
3
+ "version": "5.1.0",
4
4
  "publishConfig": {
5
5
  "access": "public",
6
6
  "provenance": false
7
7
  },
8
- "packageManager": "npm@11.6.4+sha512.1118cab46a05a50aee6bff5b1b4fa1df18afff89d57465620a3518035026955db87c5bdf9d207b07b7487d99f2490d450cb774655ad63ec2cba7bf1d0ad25d45",
8
+ "packageManager": "npm@11.9.0+sha512.04166853ddba142ca98f86fb57b1258a7c6c59ccb82acb3cf141b77a315898acaaed47395e74f7e0c7b69c486008e68be6a6381ef1aee5a23dd82e0e61decd68",
9
9
  "exports": {
10
10
  ".": "./src/service.mjs"
11
11
  },
@@ -33,20 +33,20 @@
33
33
  "build": "cmake-js compile"
34
34
  },
35
35
  "dependencies": {
36
- "@kronos-integration/service": "^15.4.1",
36
+ "@kronos-integration/service": "^15.4.25",
37
37
  "config-expander": "^14.0.9"
38
38
  },
39
39
  "devDependencies": {
40
40
  "ava": "^6.4.1",
41
41
  "c8": "^10.1.3",
42
- "cmake-js": "^7.4.0",
42
+ "cmake-js": "^8.0.0",
43
43
  "documentation": "^14.0.3",
44
44
  "execa": "^9.6.1",
45
45
  "node-addon-api": "^8.5.0",
46
- "semantic-release": "^25.0.2"
46
+ "semantic-release": "^25.0.3"
47
47
  },
48
48
  "engines": {
49
- "node": ">=24.12.0"
49
+ "node": ">=24.13.0"
50
50
  },
51
51
  "os": [
52
52
  "linux"
package/src/service.mjs CHANGED
@@ -89,7 +89,7 @@ class SystemdConfig extends ServiceConfig {
89
89
 
90
90
  /**
91
91
  * Load config from configuration dir.
92
- * Additionally pass listeninfFileDescriptions into config.
92
+ * Additionally pass listeningFileDescriptions into config.
93
93
  */
94
94
  async loadConfig() {
95
95
  notify("RELOADING=1");
@@ -169,7 +169,7 @@ export class ServiceSystemd extends ServiceProviderMixin(
169
169
  }
170
170
 
171
171
  /**
172
- * When in debug mode; every sevice gets the logLevel of the service provider.
172
+ * When in debug mode; every service gets the logLevel of the service provider.
173
173
  * @param {Service} service
174
174
  * @returns
175
175
  */
@@ -227,6 +227,11 @@ export class ServiceSystemd extends ServiceProviderMixin(
227
227
  break;
228
228
  }
229
229
  }
230
+
231
+ propagateState(text)
232
+ {
233
+ notify("STATE=" + text);
234
+ }
230
235
  }
231
236
 
232
237
  export default ServiceSystemd;
Binary file
Binary file