commit
f14bdcb7aa
1
main.py
1
main.py
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user