From 986c3b929a9dd154043c6e540d1763d43607b8a5 Mon Sep 17 00:00:00 2001 From: eson <9673575+githubcontent@user.noreply.gitee.com> Date: Fri, 8 Sep 2023 11:58:57 +0800 Subject: [PATCH] fix --- main/start.sh | 2 ++ main/stop.sh | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/main/start.sh b/main/start.sh index 24dac3e..f5c44e2 100755 --- a/main/start.sh +++ b/main/start.sh @@ -2,6 +2,8 @@ bash stop.sh +sleep 1s + for env in a b c; do # 启动screen diff --git a/main/stop.sh b/main/stop.sh index d3984c3..8264a31 100755 --- a/main/stop.sh +++ b/main/stop.sh @@ -11,5 +11,4 @@ for env in a b c; do # 或者使用PID停止 # screen_pid=$(screen -list | grep $screen_name | awk '{print $1}') # kill $screen_pid - done \ No newline at end of file