From bcb62513770c2e69e0b1335e0f98d278499c3f72 Mon Sep 17 00:00:00 2001 From: Joao M Date: Thu, 25 Aug 2022 02:15:49 +0000 Subject: [PATCH] Fix typo --- src/functions/__init__.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/functions/__init__.py b/src/functions/__init__.py index 0464cfa..e9525e6 100644 --- a/src/functions/__init__.py +++ b/src/functions/__init__.py @@ -164,11 +164,11 @@ class Certbot: ret_reload = False if len(request_certs) > 0: Functions.run_bash("CERTBOT", certbot_certonly, return_result=False) - ret_reload = true + ret_reload = True if len(renew_certs) > 0: - Functions.run_bash("CERTBOT", "/usb/bin/certbot renew", return_result=False) - ret_reload = true + Functions.run_bash("CERTBOT", "/usb/bin/certbot renew --post-hook /scripts/certbot_to_haproxy.sh", return_result=False) + ret_reload = True if ret_reload: self.find_live_certificates()