Merge pull request 'fix' (#21) from master into dev

Reviewed-on: #21
This commit is contained in:
emmatveev 2025-06-01 19:45:01 +03:00
commit f14bdcb7aa

View File

@ -34,6 +34,7 @@ def update_host(host: str) -> bool:
if not container_name:
print("Not correct node")
return False
print(f"Container name: {container_name}")
gen_cert = call(f"docker exec -it {container_name} certbot --nginx --email emmtvv@gmail.com --agree-tos -d \"{host}\"")
if gen_cert.code != 0: