1.0版本完成
This commit is contained in:
7
shell/stop.sh
Normal file
7
shell/stop.sh
Normal file
@ -0,0 +1,7 @@
|
||||
PID=$(ps -ef | grep yshop-api-1.0.jar | grep -v grep | awk '{ print $2 }')
|
||||
if [ -z "$PID" ];then
|
||||
echo Application is already stopped
|
||||
else
|
||||
echo kill $PID
|
||||
kill $PID
|
||||
fi
|
Reference in New Issue
Block a user