fix ldap logging and add sleep to certificate renewal postRun
This commit is contained in:
parent
c423af5498
commit
bd4503c035
2 changed files with 2 additions and 2 deletions
|
|
@ -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 = [
|
||||||
|
|
|
||||||
|
|
@ -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";
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue