diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2017-02-22 15:33:09 +0100 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2017-02-22 15:33:09 +0100 |
commit | c2147948b480a887b812b79f014b27f492298055 (patch) | |
tree | d9a57048f523f757862d4c6b2aaffc92155a6e76 | |
parent | e5121a3ea6c134ac422138cb074ad63756728850 (diff) | |
download | nixos-c2147948b480a887b812b79f014b27f492298055.tar nixos-c2147948b480a887b812b79f014b27f492298055.tar.gz nixos-c2147948b480a887b812b79f014b27f492298055.tar.bz2 nixos-c2147948b480a887b812b79f014b27f492298055.tar.xz nixos-c2147948b480a887b812b79f014b27f492298055.zip |
Fix path in logging script
-rw-r--r-- | ymir.nix | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -509,6 +509,8 @@ in rec { | |||
509 | logEmail unix - n n - 10 pipe flags=Rq user=nobody null_sender= argv=${pkgs.writeScript "logEmail" '' | 509 | logEmail unix - n n - 10 pipe flags=Rq user=nobody null_sender= argv=${pkgs.writeScript "logEmail" '' |
510 | #!${pkgs.stdenv.shell} | 510 | #!${pkgs.stdenv.shell} |
511 | 511 | ||
512 | export PATH=${config.security.wrapperDir}:/run/current-system/sw/bin | ||
513 | |||
512 | mailFile=/tmp/logEmail/$(date +"%F-%H%M%S").$$ | 514 | mailFile=/tmp/logEmail/$(date +"%F-%H%M%S").$$ |
513 | 515 | ||
514 | mkdir -p -m 700 /tmp/logEmail | 516 | mkdir -p -m 700 /tmp/logEmail |