diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2017-07-30 18:25:05 +0200 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2017-07-30 18:25:05 +0200 |
commit | cb3adff24d98423a4521a4647e476012a90db373 (patch) | |
tree | 997d0ab2c7468cb8785aaf3fd8e34abf4c42ab83 | |
parent | e4f9c7c6afaa0a4183aaf3b8ebd14f2fd2ce9c06 (diff) | |
download | nixos-cb3adff24d98423a4521a4647e476012a90db373.tar nixos-cb3adff24d98423a4521a4647e476012a90db373.tar.gz nixos-cb3adff24d98423a4521a4647e476012a90db373.tar.bz2 nixos-cb3adff24d98423a4521a4647e476012a90db373.tar.xz nixos-cb3adff24d98423a4521a4647e476012a90db373.zip |
Indentation
-rw-r--r-- | ymir.nix | 20 |
1 files changed, 10 insertions, 10 deletions
@@ -911,20 +911,20 @@ in rec { | |||
911 | EXTRA="" | 911 | EXTRA="" |
912 | for e in "''${@:2}"; do | 912 | for e in "''${@:2}"; do |
913 | EXTRA+="$e"$'\n' | 913 | EXTRA+="$e"$'\n' |
914 | done | 914 | done |
915 | 915 | ||
916 | UNITSTATUS=$(systemctl status $UNIT) | 916 | UNITSTATUS=$(systemctl status $UNIT) |
917 | 917 | ||
918 | sendmail $MAILTO <<EOF | 918 | sendmail $MAILTO <<EOF |
919 | From:$MAILFROM | 919 | From:$MAILFROM |
920 | To:$MAILTO | 920 | To:$MAILTO |
921 | Subject:Status mail for unit: $UNIT | 921 | Subject:Status mail for unit: $UNIT |
922 | 922 | ||
923 | Status report for unit: $UNIT | 923 | Status report for unit: $UNIT |
924 | $EXTRA | 924 | $EXTRA |
925 | 925 | ||
926 | $UNITSTATUS | 926 | $UNITSTATUS |
927 | EOF | 927 | EOF |
928 | ''; | 928 | ''; |
929 | }; | 929 | }; |
930 | } | 930 | } |