Fix typo
This commit is contained in:
parent
2442b25440
commit
bcb6251377
1 changed files with 3 additions and 3 deletions
|
|
@ -164,11 +164,11 @@ class Certbot:
|
||||||
ret_reload = False
|
ret_reload = False
|
||||||
if len(request_certs) > 0:
|
if len(request_certs) > 0:
|
||||||
Functions.run_bash("CERTBOT", certbot_certonly, return_result=False)
|
Functions.run_bash("CERTBOT", certbot_certonly, return_result=False)
|
||||||
ret_reload = true
|
ret_reload = True
|
||||||
|
|
||||||
if len(renew_certs) > 0:
|
if len(renew_certs) > 0:
|
||||||
Functions.run_bash("CERTBOT", "/usb/bin/certbot renew", return_result=False)
|
Functions.run_bash("CERTBOT", "/usb/bin/certbot renew --post-hook /scripts/certbot_to_haproxy.sh", return_result=False)
|
||||||
ret_reload = true
|
ret_reload = True
|
||||||
|
|
||||||
if ret_reload:
|
if ret_reload:
|
||||||
self.find_live_certificates()
|
self.find_live_certificates()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue