Compare commits

...

2 Commits

Author SHA1 Message Date
1ad823a301 Merge pull request 'fix' (#26) from master into dev
Reviewed-on: #26
2025-06-01 19:58:41 +03:00
Egor Matveev
81db99d44d fix
All checks were successful
Deploy Dev / Build (pull_request) Successful in 5s
Deploy Dev / Deploy dev (pull_request) Successful in 7s
Deploy Dev / Push (pull_request) Successful in 8s
2025-06-01 19:58:18 +03:00

View File

@ -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")