From fa0fc6f3bc114fe493953bf922223b55e418f159 Mon Sep 17 00:00:00 2001 From: Egor Matveev Date: Sun, 8 Jun 2025 11:49:18 +0300 Subject: [PATCH] fix --- main.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/main.py b/main.py index 223839d..57e12d4 100644 --- a/main.py +++ b/main.py @@ -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) -- 2.45.2