]> code.delx.au - monosys/blob - healthcheck/systemd-units
healthcheck: simplify now that `systemd --user` is running everywhere
[monosys] / healthcheck / systemd-units
1 #!/bin/bash
2
3 if systemctl is-system-running > /dev/null; then
4 exit 0
5 fi
6
7 echo -e "# systemctl --failed"
8 systemctl --failed
9 exit 1