diff --git a/check_systemdunit b/check_systemdunit index 2f62cb9b6c4aa3a80f564de2043cebe3f16610c1..35cf7cc0b62bd81d0fca8f60ba71fc7c390db9bc 100755 --- a/check_systemdunit +++ b/check_systemdunit @@ -7,11 +7,12 @@ # 2023-09-05 v1.0 <axel.hahn@unibe.ch> # 2020-09-06 v1.1 <axel.hahn@unibe.ch> add params -s, -l # 2020-09-06 v1.2 <axel.hahn@unibe.ch> add param -r to use a regex +# 2020-09-18 v1.3 <axel.hahn@unibe.ch> fix: list units --all to show all stopped units # ================================================================================ . $( dirname $0 )/inc_pluginfunctions -export self_APPVERSION=1.2 +export self_APPVERSION=1.3 # ---------------------------------------------------------------------- # FUNCTIONS @@ -62,7 +63,7 @@ EOF # get the list of units function _getUnits(){ - systemctl --no-legend --no-pager + systemctl --no-legend --no-pager --all } # ---------------------------------------------------------------------- diff --git a/docs/20_Checks/check_systemdunit.md b/docs/20_Checks/check_systemdunit.md index 631acfee325c5f1d0ec97c379b749360cac22499..2f1b92365380cca83278d2349b241e507ad80676 100644 --- a/docs/20_Checks/check_systemdunit.md +++ b/docs/20_Checks/check_systemdunit.md @@ -16,7 +16,7 @@ A unit is everything listed by systemctl command - services, timers, targets, .. ______________________________________________________________________ CHECK_SYSTEMDUNIT -v1.2 +v1.3 (c) Institute for Medical Education - University of Bern Licence: GNU GPL 3