fix(cli): 修复强制停止应用

This commit is contained in:
2024-01-31 14:35:45 +08:00
parent af27d1772d
commit 41827c02c0

View File

@@ -206,7 +206,7 @@ public class RunnerApplication implements ApplicationRunner {
" LOOPS=$(($LOOPS+1))\n" +
" if [[ $(($LOOPS%15)) -eq 0 ]]; then\n" +
" echo \"Wait timeout, try to force kill ${pid}...\"\n" +
" kill ${pid}\n" +
" kill -9 ${pid}\n" +
" fi\n" +
" sleep 1s\n" +
"done";