@ebowwa/seedinstallation 0.4.2 → 0.4.3
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/dist/index.js +1 -2
- package/dist/systemd.js +1 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -462,8 +462,7 @@ async function reloadService(name, opts) {
|
|
|
462
462
|
}
|
|
463
463
|
async function getServiceStatus(name, opts) {
|
|
464
464
|
const result = await exec3(["systemctl", "show", name, "--property=LoadState,ActiveState,SubState,MainPID,Description"], {
|
|
465
|
-
...opts
|
|
466
|
-
quiet: true
|
|
465
|
+
...opts
|
|
467
466
|
});
|
|
468
467
|
if (!result.ok) {
|
|
469
468
|
return { loaded: false, active: false, subState: "unknown", mainPid: 0, description: "" };
|
package/dist/systemd.js
CHANGED
|
@@ -332,8 +332,7 @@ async function reloadService(name, opts) {
|
|
|
332
332
|
}
|
|
333
333
|
async function getServiceStatus(name, opts) {
|
|
334
334
|
const result = await exec2(["systemctl", "show", name, "--property=LoadState,ActiveState,SubState,MainPID,Description"], {
|
|
335
|
-
...opts
|
|
336
|
-
quiet: true
|
|
335
|
+
...opts
|
|
337
336
|
});
|
|
338
337
|
if (!result.ok) {
|
|
339
338
|
return { loaded: false, active: false, subState: "unknown", mainPid: 0, description: "" };
|