master #48

Merged
emmatveev merged 11 commits from master into prod 2025-06-12 01:58:34 +03:00
Showing only changes of commit 4baf1c94fa - Show all commits

View File

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