X-Git-Url: https://git.r.bdr.sh/rbdr/monitorcito/blobdiff_plain/2d72aab0a88baa906127489e1c25fd11881bdc35..ebdbb365586eff541b1794ed05476863d099b9b6:/lib/index.js diff --git a/lib/index.js b/lib/index.js index d5d9668..e8d0019 100644 --- a/lib/index.js +++ b/lib/index.js @@ -6,7 +6,7 @@ const internals = { kFieldSeparator: '\n', kKeyValueSeparator: '=', kBlockSeparator: '\n\n', - statusCommand: 'systemctl show --no-page -p Id -p ActiveState', + statusCommand: 'systemctl show --no-page -p Description -p ActiveState', formatStatusOutput(systemctlText) { @@ -29,7 +29,7 @@ const internals = { return { ...statusObject, - [service.Id]: service.ActiveState === internals.kActiveIndicator + [service.Description]: service.ActiveState === internals.kActiveIndicator } }, {}); },