From eb4e5c5559f9082689d2a30f5963ff9c8efa50fc Mon Sep 17 00:00:00 2001 From: huanghai <10402852@qq.com> Date: Wed, 29 Jul 2020 10:36:31 +0800 Subject: [PATCH] 'commit' --- dsSso/Shell/remote.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/dsSso/Shell/remote.sh b/dsSso/Shell/remote.sh index d2c5bba4..c67f405a 100644 --- a/dsSso/Shell/remote.sh +++ b/dsSso/Shell/remote.sh @@ -11,5 +11,8 @@ chmod +x dsSso # 运行为后台进程 cd /usr/local/dsMin/dsSso && +# kill 命令不使用 -9 参数时,会回调 onStop() 方法,确定不需要此回调建议使用 -9 参数 +kill -9 `pgrep -f dsSso` 2>/dev/null + # 使用dlv方便远程调试 dlv --listen=:2345 --headless=true --api-version=2 exec ./dsSso