fix(cli): 修复强制停止应用
This commit is contained in:
@@ -206,7 +206,7 @@ public class RunnerApplication implements ApplicationRunner {
|
|||||||
" LOOPS=$(($LOOPS+1))\n" +
|
" LOOPS=$(($LOOPS+1))\n" +
|
||||||
" if [[ $(($LOOPS%15)) -eq 0 ]]; then\n" +
|
" if [[ $(($LOOPS%15)) -eq 0 ]]; then\n" +
|
||||||
" echo \"Wait timeout, try to force kill ${pid}...\"\n" +
|
" echo \"Wait timeout, try to force kill ${pid}...\"\n" +
|
||||||
" kill ${pid}\n" +
|
" kill -9 ${pid}\n" +
|
||||||
" fi\n" +
|
" fi\n" +
|
||||||
" sleep 1s\n" +
|
" sleep 1s\n" +
|
||||||
"done";
|
"done";
|
||||||
|
|||||||
Reference in New Issue
Block a user