fix ldap logging and add sleep to certificate renewal postRun

This commit is contained in:
2025-02-04 11:51:38 +01:00
parent c423af5498
commit bd4503c035
2 changed files with 2 additions and 2 deletions

View File

@@ -255,7 +255,7 @@ in
"imap-test.${domain}" "imap-test.${domain}"
"imap-02.${domain}" "imap-02.${domain}"
]; ];
postRun = "systemctl restart dovecot2.service"; postRun = "sleep 2 && systemctl restart dovecot2.service";
}; };
networking.firewall.allowedTCPPorts = [ networking.firewall.allowedTCPPorts = [

View File

@@ -12,7 +12,7 @@ in {
urlList = [ "ldap:///" "ldaps:///" ]; urlList = [ "ldap:///" "ldaps:///" ];
settings.attrs = { settings.attrs = {
olcLogLevel = "-1"; olcLogLevel = "256";
olcTLSCACertificateFile = "/var/lib/acme/ldap.${domain}/full.pem"; olcTLSCACertificateFile = "/var/lib/acme/ldap.${domain}/full.pem";
olcTLSCertificateFile = "/var/lib/acme/ldap.${domain}/cert.pem"; olcTLSCertificateFile = "/var/lib/acme/ldap.${domain}/cert.pem";