Compare commits

..

No commits in common. "78eeea9e0855b2521881572db4e830b51517cd1d" and "1f7cef1f4bf4e159ac92dbf588214b2f60fd770e" have entirely different histories.

View File

@ -86,8 +86,6 @@ while True:
container_id_run = call(f"echo $(docker ps -q -f name=infra-development_nginx)").out
else:
container_id_run = call(f"echo $(docker ps -q -f name=infra_nginx)").out
restart = call("docker exec {container_id_run} python3 prepare.py && nginx -s reload")
print(restart.out + restart.err)
print(call("docker exec {container_id_run} python3 prepare.py && nginx -s reload").out)
time.sleep(30)