Compare commits
No commits in common. "1ad823a3011ca857f3373f9131b5f8e29179d6b7" and "ded08985b518a682c40bab93d43f11ec490c414e" have entirely different histories.
1ad823a301
...
ded08985b5
2
main.py
2
main.py
@ -41,8 +41,6 @@ def update_host(host: str) -> bool:
|
|||||||
gen_cert = call(gen_command)
|
gen_cert = call(gen_command)
|
||||||
if gen_cert.code != 0:
|
if gen_cert.code != 0:
|
||||||
print(f"failed generating certificate: {gen_cert.err}")
|
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
|
return False
|
||||||
|
|
||||||
fullchain_command = call(f"docker exec {container_name} cat /etc/letsencrypt/live/{host}/fullchain.pem")
|
fullchain_command = call(f"docker exec {container_name} cat /etc/letsencrypt/live/{host}/fullchain.pem")
|
||||||
|
Loading…
Reference in New Issue
Block a user