From 4301bcca74528471cd94ca22080f001007f29810 Mon Sep 17 00:00:00 2001 From: Karim <37943746+ksaadDE@users.noreply.github.com> Date: Mon, 27 Jun 2022 19:49:46 +0200 Subject: [PATCH] removed forcing renew, no-autoupgrade only renew, no force fix and do upgrades https://github.com/modoboa/modoboa/issues/2129 --- modoboa_installer/ssl.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modoboa_installer/ssl.py b/modoboa_installer/ssl.py index 784e9d1..8df9b30 100644 --- a/modoboa_installer/ssl.py +++ b/modoboa_installer/ssl.py @@ -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))