diff --git a/spring-boot-docs/src/main/asciidoc/deployment.adoc b/spring-boot-docs/src/main/asciidoc/deployment.adoc index 45e3fbf11b9..6cf76ccbe84 100644 --- a/spring-boot-docs/src/main/asciidoc/deployment.adoc +++ b/spring-boot-docs/src/main/asciidoc/deployment.adoc @@ -545,6 +545,9 @@ for Gradle and to `${project.name}` for Maven. |`initInfoDescription` |The `Description` section of "`INIT INFO`". Defaults to `Spring Boot Application` for Gradle and to `${project.description}` (falling back to `${project.name}`) for Maven. + +|`initInfoChkconfig` +|The `chkconfig` section of "`INIT INFO`". Defaults to `2345 99 01`. |=== diff --git a/spring-boot-tools/spring-boot-loader-tools/src/main/resources/org/springframework/boot/loader/tools/launch.script b/spring-boot-tools/spring-boot-loader-tools/src/main/resources/org/springframework/boot/loader/tools/launch.script index 0d0ac169c37..26639c1e484 100755 --- a/spring-boot-tools/spring-boot-loader-tools/src/main/resources/org/springframework/boot/loader/tools/launch.script +++ b/spring-boot-tools/spring-boot-loader-tools/src/main/resources/org/springframework/boot/loader/tools/launch.script @@ -17,7 +17,7 @@ # Default-Stop: 0 1 6 # Short-Description: {{initInfoShortDescription:Spring Boot Application}} # Description: {{initInfoDescription:Spring Boot Application}} -# chkconfig: 2345 99 01 +# chkconfig: {{initInfoChkconfig:2345 99 01}} ### END INIT INFO [[ -n "$DEBUG" ]] && set -x