mirror of
https://gitlab.com/simple-nixos-mailserver/nixos-mailserver.git
synced 2024-12-27 11:40:32 +05:00
Merge pull request #124 from nlewo/pr-dh.pem
postfix: also create the dh.pem if it is empty
This commit is contained in:
commit
02b0e867d2
@ -41,7 +41,7 @@ let
|
||||
createDhParameterFile =
|
||||
''
|
||||
# Create a dh parameter file
|
||||
if [ ! -f "${cfg.certificateDirectory}/dh.pem" ]
|
||||
if [ ! -s "${cfg.certificateDirectory}/dh.pem" ]
|
||||
then
|
||||
mkdir -p "${cfg.certificateDirectory}"
|
||||
${pkgs.openssl}/bin/openssl \
|
||||
|
Loading…
Reference in New Issue
Block a user