Merge pull request 'fix' (#42) from master into dev

Reviewed-on: #42
This commit is contained in:
emmatveev 2025-06-08 11:49:43 +03:00
commit 560d21c9fe

View File

@ -89,8 +89,7 @@ while True:
print(container_id_run.code, container_id_run.out, container_id_run.err)
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} ./refre.sh")
print(restart.code, restart.out, restart.err)
time.sleep(30)