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