Skip to content

Commit

Permalink
fix stop.sh execute failed in macos (#3187) (#3188)
Browse files Browse the repository at this point in the history
* �optimize start.sh ,support different jdk configure JAVA_OPTS parameter

�optimize start.sh ,support different jdk configure JAVA_OPTS parameter

* fix start.bat ,support different JDK work and logs dir

* Update start.bat

* fix start.bat(ISSUE#2814)

fix start.bat [shenyu-bootstrap-dist missing agent parameter in start.bat script (Issue #2814)]

* Revert "fix start.bat(ISSUE#2814)"

This reverts commit cf002c9.

* fix start.bat (Issue #2814)

* Update start.bat

* fix stop.sh exxcute failed in macos

* fix stop.sh execute failed in macos (#3187)

* fix stop.sh execute failed in macos (#3187)
  • Loading branch information
IceFoxs authored Apr 3, 2022
1 parent f15e9e8 commit 427d0c9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ cd `dirname $0`
cd ..
DEPLOY_DIR=`pwd`

PIDS=`ps -eo pid,cmd |grep -v tail|grep -v grep|grep "$DEPLOY_DIR"|awk '{print $1}'`
PIDS=`ps ax |grep -v tail|grep -v grep|grep "$DEPLOY_DIR"|awk '{print $1}'`
if [ -z "$PIDS" ]; then
echo "ERROR: The $SERVER_NAME does not started!"
exit 1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ cd `dirname $0`
cd ..
DEPLOY_DIR=`pwd`

PIDS=`ps -eo pid,cmd |grep -v tail|grep -v grep|grep "$DEPLOY_DIR"|awk '{print $1}'`
PIDS=`ps ax |grep -v tail|grep -v grep|grep "$DEPLOY_DIR"|awk '{print $1}'`
if [ -z "$PIDS" ]; then
echo "ERROR: The $SERVER_NAME does not started!"
exit 1
Expand Down

0 comments on commit 427d0c9

Please sign in to comment.