@kronos-integration/service-systemd 4.0.0 → 4.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/package.json +8 -7
- package/src/service.mjs +9 -0
- package/systemd-linux-arm64.node +0 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kronos-integration/service-systemd",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.1.0",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public",
|
|
6
6
|
"provenance": false
|
|
@@ -32,20 +32,20 @@
|
|
|
32
32
|
"build": "cmake-js compile"
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@kronos-integration/service": "^
|
|
35
|
+
"@kronos-integration/service": "^15.0.0",
|
|
36
36
|
"config-expander": "^14.0.9"
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|
|
39
39
|
"ava": "^6.4.1",
|
|
40
40
|
"c8": "^10.1.2",
|
|
41
|
-
"cmake-js": "^7.
|
|
41
|
+
"cmake-js": "^7.4.0",
|
|
42
42
|
"documentation": "^14.0.3",
|
|
43
|
-
"execa": "^9.6.
|
|
43
|
+
"execa": "^9.6.1",
|
|
44
44
|
"node-addon-api": "^8.5.0",
|
|
45
|
-
"semantic-release": "^25.0.
|
|
45
|
+
"semantic-release": "^25.0.2"
|
|
46
46
|
},
|
|
47
47
|
"engines": {
|
|
48
|
-
"node": ">=24.
|
|
48
|
+
"node": ">=24.11.1"
|
|
49
49
|
},
|
|
50
50
|
"os": [
|
|
51
51
|
"linux"
|
|
@@ -75,5 +75,6 @@
|
|
|
75
75
|
"napi_versions": [
|
|
76
76
|
9
|
|
77
77
|
]
|
|
78
|
-
}
|
|
78
|
+
},
|
|
79
|
+
"packageManager": "npm@11.6.4+sha512.1118cab46a05a50aee6bff5b1b4fa1df18afff89d57465620a3518035026955db87c5bdf9d207b07b7487d99f2490d450cb774655ad63ec2cba7bf1d0ad25d45"
|
|
79
80
|
}
|
package/src/service.mjs
CHANGED
|
@@ -154,6 +154,15 @@ export class ServiceSystemd extends ServiceProviderMixin(
|
|
|
154
154
|
return "Bridge to systemd";
|
|
155
155
|
}
|
|
156
156
|
|
|
157
|
+
constructor(config, ic) {
|
|
158
|
+
if (process.env.LOGLEVEL) {
|
|
159
|
+
config.logLevel = process.env.LOGLEVEL;
|
|
160
|
+
} else if (process.env.DEBUG) {
|
|
161
|
+
config.logLevel = "debug";
|
|
162
|
+
}
|
|
163
|
+
super(config, ic);
|
|
164
|
+
}
|
|
165
|
+
|
|
157
166
|
get autostart() {
|
|
158
167
|
return true;
|
|
159
168
|
}
|
package/systemd-linux-arm64.node
CHANGED
|
Binary file
|