From f9d64a068b90f196d43b91c81311547016b75fe9 Mon Sep 17 00:00:00 2001 From: Marius Bergmann Date: Thu, 28 Sep 2017 08:36:51 +0200 Subject: [PATCH] nullmailer: fix relative -> absolute path in preStart script --- nixos/modules/services/mail/nullmailer.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/modules/services/mail/nullmailer.nix b/nixos/modules/services/mail/nullmailer.nix index b2c738ab6ebd..2eb2d39fc62e 100644 --- a/nixos/modules/services/mail/nullmailer.nix +++ b/nixos/modules/services/mail/nullmailer.nix @@ -192,7 +192,7 @@ with lib; preStart = '' mkdir -p /var/spool/nullmailer/{queue,tmp} - rm -f var/spool/nullmailer/trigger && mkfifo -m 660 /var/spool/nullmailer/trigger + rm -f /var/spool/nullmailer/trigger && mkfifo -m 660 /var/spool/nullmailer/trigger chown ${cfg.user} /var/spool/nullmailer/* '';