From 66eefeb324484b51b583b9b0021f0ea6f93a95ef Mon Sep 17 00:00:00 2001 From: Egor Matveev Date: Sun, 8 Jun 2025 11:05:13 +0300 Subject: [PATCH] fix --- main.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/main.py b/main.py index 8397502..8133ff2 100644 --- a/main.py +++ b/main.py @@ -87,7 +87,8 @@ 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 && nginx -s reload") - print(restart.out + restart.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) time.sleep(30) -- 2.45.2