diff options
-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 |