修改权限改造引起的bug

This commit is contained in:
xuwenbo
2020-05-15 22:56:27 +08:00
parent 81fd601687
commit 9594d2b04e
12 changed files with 171 additions and 10 deletions

7
shell/stop.sh Normal file
View File

@ -0,0 +1,7 @@
PID=$(ps -ef | grep yshop-api-2.0.jar | grep -v grep | awk '{ print $2 }')
if [ -z "$PID" ];then
echo Application is already stopped
else
echo kill $PID
kill $PID
fi