source /etc/profile
processpath=/www/service-bmc
pid=`ps -ef | grep ${processpath} | grep -v grep | awk '{print $2}'`
if [ -n "$pid" ]
then
echo "kill -9 的pid:" $pid
kill -9 $pid
fi
nohup java -Dregister-with-eureka=true -jar ${processpath}/pba-provider-bmc.jar com.hucais.BookManagerCenterApplication &