Skip to content

Commit d424ac3

Browse files
committed
fix:修复start.sh脚本问题
1 parent ee7e255 commit d424ac3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tool/include

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ function start() {
3636
}
3737

3838
function stop() {
39-
pids=$(ps -e -o pid,cmd | grep "$cmdline" | grep -v "grep" | awk '{print $1}')
39+
pids=$(ps -ef | grep "$cmdline" | grep -v "grep" | awk '{print $2}')
4040
array=($pids)
4141
for pid in ${array[@]}; do
4242
log_info "stop $server_name: pid=$pid"

0 commit comments

Comments
 (0)