【问题标题】:Where do I set the script MODE我在哪里设置脚本模式
【发布时间】:2016-06-10 16:28:54
【问题描述】:

我想为我的 spring-boot 应用创建一个init.d 服务。

我希望它默认停止,只在用户运行service my-app start时运行。

我在哪里设置MODE=service,如下页所述。

http://docs.spring.io/spring-boot/docs/current/reference/html/deployment-install.html

【问题讨论】:

    标签: spring-boot


    【解决方案1】:

    发现我需要在 Spring Boot Maven 中添加 embeddedLaunchScriptProperties 选项

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2011-04-08
      • 1970-01-01
      • 2011-03-09
      • 2016-08-04
      • 2010-10-02
      • 2011-06-30
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多