jarname=‘pt-edi-web-2.0.0-exec.jar’
pid=ps aux | grep ${jarname} | grep -v grep | awk ‘{print $2}’
echo $pid
kill $pid
nohup java -jar $jarname --spring.profiles.active=test -Xms512m -Xmx1024m >log.log 2>&1 &
echo “start successed!!!”
linux微服务部署脚本
最新推荐文章于 2024-09-24 00:04:03 发布