diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2017-07-30 18:51:32 +0200 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2017-07-30 18:51:32 +0200 |
commit | 72b4151390f8f60e4ed4b89a5d246565c49ccb9b (patch) | |
tree | 8d7216269fa72a033557a09c9701e856b573ceff /ymir.nix | |
parent | 7af53db79f7f7427463a360b0473cbdfe468d93b (diff) | |
download | nixos-72b4151390f8f60e4ed4b89a5d246565c49ccb9b.tar nixos-72b4151390f8f60e4ed4b89a5d246565c49ccb9b.tar.gz nixos-72b4151390f8f60e4ed4b89a5d246565c49ccb9b.tar.bz2 nixos-72b4151390f8f60e4ed4b89a5d246565c49ccb9b.tar.xz nixos-72b4151390f8f60e4ed4b89a5d246565c49ccb9b.zip |
Formatting
Diffstat (limited to 'ymir.nix')
-rw-r--r-- | ymir.nix | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -904,7 +904,7 @@ in rec { | |||
904 | serviceConfig = { | 904 | serviceConfig = { |
905 | Type = "oneshot"; | 905 | Type = "oneshot"; |
906 | }; | 906 | }; |
907 | scriptArgs = "%I %H %m %b"; | 907 | scriptArgs = "%I \"Hostname: %H\" \"Machine-ID: %m\" \"Boot-ID: %b\""; |
908 | script = '' | 908 | script = '' |
909 | #!${pkgs.stdenv.shell} | 909 | #!${pkgs.stdenv.shell} |
910 | MAILTO="root" | 910 | MAILTO="root" |
@@ -921,7 +921,7 @@ in rec { | |||
921 | ${config.security.wrapperDir}/sendmail $MAILTO <<EOF | 921 | ${config.security.wrapperDir}/sendmail $MAILTO <<EOF |
922 | From:$MAILFROM | 922 | From:$MAILFROM |
923 | To:$MAILTO | 923 | To:$MAILTO |
924 | Subject:Status mail for unit: $UNIT | 924 | Subject:Status of $UNIT |
925 | 925 | ||
926 | Status report for unit: $UNIT | 926 | Status report for unit: $UNIT |
927 | $EXTRA | 927 | $EXTRA |