unitstatus: more output

This commit is contained in:
Motiejus Jakštys 2024-09-17 11:47:47 +03:00
parent da3e4fce99
commit 6ffa0453ee

View File

@ -30,7 +30,7 @@
for e in "''${@:2}"; do
EXTRA+="$e"$'\n'
done
UNITSTATUS=$(${pkgs.systemd}/bin/systemctl status "$UNIT" || :)
UNITSTATUS=$(${pkgs.systemd}/bin/systemctl status -l -n 1000 "$UNIT" || :)
${pkgs.postfix}/bin/sendmail $MAILTO <<EOF
Subject:Status mail for unit: $UNIT