diff --git a/starter/jpress.sh b/starter/jpress.sh index ef51772dc17cb3c897acf9aeb293b21127f7067b..8d224ff1366880021ee271924c080bd67e685ad9 100644 --- a/starter/jpress.sh +++ b/starter/jpress.sh @@ -49,7 +49,7 @@ function start() function stop() { - kill `pgrep -f ${MAIN_CLASS}` 2>/dev/null + kill `pgrep -f ${APP_BASE_PATH}` 2>/dev/null # 以下代码与上述代码等价 # kill $(pgrep -f ${MAIN_CLASS}) 2>/dev/null