initial acme support; needs testing

This commit is contained in:
Robin Raymond 2017-09-23 09:56:09 +02:00
parent 3b0818fb35
commit 2f7e3a9f0c
5 changed files with 55 additions and 8 deletions

View file

@ -63,6 +63,7 @@ in
# Create certificates and maildir folder
systemd.services.postfix = {
after = (if (certificateScheme == 3) then [ "nginx.service" ] else []);
preStart =
''
# Create mail directory and set permissions. See