Compare commits

..

No commits in common. "d0c26f15e2e79ae18cc68da754474c9762518e17" and "560d21c9fe1eda3769511f03713569696c53ca92" have entirely different histories.

View File

@ -86,10 +86,10 @@ while True:
container_id_run = call("echo $(docker ps -q -f name=infra-development_nginx)")
else:
container_id_run = call("echo $(docker ps -q -f name=infra_nginx)")
print(container_id_run.code, container_id_run.out, container_id_run.err)
restart = call(f"docker exec {container_id_run.out} ./refre.sh")
restart = call(f"docker exec {container_id_run} ./refre.sh")
print(restart.code, restart.out, restart.err)
time.sleep(30)