fix
This commit is contained in:
parent
671f414e45
commit
81db99d44d
2
main.py
2
main.py
@ -41,6 +41,8 @@ def update_host(host: str) -> bool:
|
||||
gen_cert = call(gen_command)
|
||||
if gen_cert.code != 0:
|
||||
print(f"failed generating certificate: {gen_cert.err}")
|
||||
print("Here is the log")
|
||||
print(call(f"docker exec {container_name} cat /var/log/letsencrypt/letsencrypt.log").out)
|
||||
return False
|
||||
|
||||
fullchain_command = call(f"docker exec {container_name} cat /etc/letsencrypt/live/{host}/fullchain.pem")
|
||||
|
Loading…
Reference in New Issue
Block a user