unitstatus: more output
This commit is contained in:
parent
da3e4fce99
commit
6ffa0453ee
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user