opensmtpd: Add sendmail to systemPackages
This commit is contained in:
parent
676f44eb04
commit
2b92e90f91
1 changed files with 5 additions and 0 deletions
|
@ -79,5 +79,10 @@ in {
|
|||
preStart = "mkdir -p /var/spool";
|
||||
serviceConfig.ExecStart = "${opensmtpd}/sbin/smtpd -d -f ${conf} ${args}";
|
||||
};
|
||||
|
||||
environment.systemPackages = [ (pkgs.runCommand "opensmtpd-sendmail" {} ''
|
||||
mkdir -p $out/bin
|
||||
ln -s ${opensmtpd}/sbin/smtpctl $out/bin/sendmail
|
||||
'') ];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue