Starting Spring boot applications from script

前端 未结 4 1009
醉梦人生
醉梦人生 2021-01-17 04:28

Using normal spring mvn commands, I can start a spring boot application from command line and terminate it with Control+c. I however have created a bunch of services which I

4条回答
  •  清酒与你
    2021-01-17 05:05

    This script make it easy, auto find newest version of jar file:

    https://github.com/tyrion9/spring-boot-startup-script

    ./bootstrap.sh start
    ./bootstrap.sh stop
    ./bootstrap.sh restart
    

提交回复
热议问题