summaryrefslogtreecommitdiff
path: root/custom
diff options
context:
space:
mode:
Diffstat (limited to 'custom')
-rw-r--r--custom/unit-status-mail.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/custom/unit-status-mail.nix b/custom/unit-status-mail.nix
index 355d1cf7..c1947063 100644
--- a/custom/unit-status-mail.nix
+++ b/custom/unit-status-mail.nix
@@ -36,7 +36,7 @@ in {
36 scriptArgs = "%I \"Hostname: %H\" \"Machine-ID: %m\" \"Boot-ID: %b\""; 36 scriptArgs = "%I \"Hostname: %H\" \"Machine-ID: %m\" \"Boot-ID: %b\"";
37 script = '' 37 script = ''
38 #!${pkgs.stdenv.shell} 38 #!${pkgs.stdenv.shell}
39 MAILTO="${recipient}" 39 MAILTO="${cfg.recipient}"
40 MAILFROM="unit-status-mailer" 40 MAILFROM="unit-status-mailer"
41 UNIT=$1 41 UNIT=$1
42 42