concierge-status 192 B

12345678
  1. #!/bin/sh
  2. LOGGER="logger -t concierge -s"
  3. # systemd: list units in a failed state
  4. if type "systemctl" > /dev/null; then
  5. systemctl list-units --failed --plain --no-legend 2>&1 | $LOGGER
  6. fi