Compare commits

..

No commits in common. "ad5a22e98504c66e0e1400d9e0900ee137a7b664" and "d288a8a8835fcfc2530ae86e48e71c5c38cc1d12" have entirely different histories.

View File

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