ps -ef|grep test |grep -v grep|awk ‘{print $2}‘|xargs kill nohup java -jar test.jar --spring.config.location=./application.properties,./properties2.properties,./properties3.properties &
spring boot重启脚本
原文:https://www.cnblogs.com/bincoding/p/10199805.html