]> code.delx.au - monosys/blob - healthcheck/systemd-units
5eea8740af664cdfc1543d23e9ed6b7201ad13a2
[monosys] / healthcheck / systemd-units
1 #!/bin/bash
2
3 if systemctl is-failed -q '*'; then
4 echo -e "# systemctl --failed"
5 systemctl --failed
6 exit 1
7 else
8 exit 0
9 fi