removed forcing renew, no-autoupgrade
only renew, no force fix and do upgrades https://github.com/modoboa/modoboa/issues/2129
This commit is contained in:
@@ -104,7 +104,7 @@ class LetsEncryptCertificate(CertificateBackend):
|
||||
self.hostname, self.config.get("letsencrypt", "email")))
|
||||
with open("/etc/cron.d/letsencrypt", "w") as fp:
|
||||
fp.write("0 */12 * * * root certbot renew "
|
||||
"--quiet --no-self-upgrade --force-renewal\n")
|
||||
"--quiet\n")
|
||||
cfg_file = "/etc/letsencrypt/renewal/{}.conf".format(self.hostname)
|
||||
pattern = "s/authenticator = standalone/authenticator = nginx/"
|
||||
utils.exec_cmd("perl -pi -e '{}' {}".format(pattern, cfg_file))
|
||||
|
||||
Reference in New Issue
Block a user