springboot项目linux启动sh shell 脚本
#!/bin/bash if [ “$1” == “run” ];then java -jar Webstack-Guns-nkt-1.0.jarelse if [ “$1” == “start” ];then nohup java -jar Webstack-Guns-nkt-1.0.jar & echo “Application is starting.”else if [ “1"=="stop"];thenPID=1" == "stop" ]; then PID=1"=="stop"]
原创
2021-06-13 19:20:25 ·
346 阅读 ·
0 评论