shutdown.sh 208 Bytes
#!/bin/bash
echo "stop SpringBoot BAppApiServerApplication"
pid=`ps -ef | grep cms-scheduler-1.0.jar | grep -v grep | awk '{print $2}'`
echo "旧应用进程id:" $pid
if [ -n "$pid" ]
then
kill -9 $pid
fi