From 6b14de16225eadc9042a3778f139f8239126fcdf Mon Sep 17 00:00:00 2001 From: Florian Klink Date: Wed, 28 Apr 2021 13:15:23 +0200 Subject: [PATCH] opensmtpd: set --with-path-pidfile Set this to `/run`, like we also do with `--with-path-socket`, so opensmtp doesn't try to use /var/run for pidfiles. --- pkgs/servers/mail/opensmtpd/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/servers/mail/opensmtpd/default.nix b/pkgs/servers/mail/opensmtpd/default.nix index ab2bdae0add7..6a9fc815fd92 100644 --- a/pkgs/servers/mail/opensmtpd/default.nix +++ b/pkgs/servers/mail/opensmtpd/default.nix @@ -33,6 +33,7 @@ stdenv.mkDerivation rec { "--with-auth-pam" "--without-auth-bsdauth" "--with-path-socket=/run" + "--with-path-pidfile=/run" "--with-user-smtpd=smtpd" "--with-user-queue=smtpq" "--with-group-queue=smtpq"