springboot项目在linux上长久运行的shell脚本

启动脚本start.shjava nohup java -jar system-2.4.jar --spring.profiles.active=prod & 终止脚本stop.shspring PID=$(ps -ef | grep system-2.4.jar | grep -v grep | awk '{ print $2 }') if [ -z "$PID" ] then echo App
相关文章
相关标签/搜索