summaryrefslogtreecommitdiff
path: root/custom/unit-status-mail.nix
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2017-07-30 19:28:06 +0200
committerGregor Kleen <gkleen@yggdrasil.li>2017-07-30 19:28:06 +0200
commitafc2aec6b3257ef665891f50b3630e78ffb48ea8 (patch)
tree778c815637d9115ca3436822e54e9d7dc8fc922f /custom/unit-status-mail.nix
parentc68361bf7140424e50608b490fb8775516ea9a24 (diff)
downloadnixos-afc2aec6b3257ef665891f50b3630e78ffb48ea8.tar
nixos-afc2aec6b3257ef665891f50b3630e78ffb48ea8.tar.gz
nixos-afc2aec6b3257ef665891f50b3630e78ffb48ea8.tar.bz2
nixos-afc2aec6b3257ef665891f50b3630e78ffb48ea8.tar.xz
nixos-afc2aec6b3257ef665891f50b3630e78ffb48ea8.zip
scoping
Diffstat (limited to 'custom/unit-status-mail.nix')
-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