From 59aeeaac3340224ba9e93b42e0c6be597f6d2061 Mon Sep 17 00:00:00 2001 From: justuser Date: Tue, 20 Aug 2024 16:50:08 +0300 Subject: [PATCH] =?UTF-8?q?=D0=98=D1=81=D0=BF=D1=80=D0=B0=D0=B2=D0=BB?= =?UTF-8?q?=D0=B5=D0=BD=D0=B8=D0=B5=20=D0=B1=D0=B0=D0=B3=D0=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- srv.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/srv.sh b/srv.sh index 6c64b81..ee75500 100755 --- a/srv.sh +++ b/srv.sh @@ -1,8 +1,9 @@ while true do killall python -sleep 2s +sleep 1s killall python #Чтоб наверняка +sleep 60s # Ждём, чтобы не было ошибки при перезапуске "данный порт уже используется" nohup python srv_main.py & sleep 6h