From f22c91ac94fb7d9c95eea637885c95b7ac1f8550 Mon Sep 17 00:00:00 2001 From: Phillip Webb Date: Fri, 19 Jun 2015 15:43:05 -0700 Subject: [PATCH] Add chkconfig comment to launch script Update the embedded launch script to include a `chkconfig` comment. This solves the "Service doesn't support chkconfig" error when executing the chkconfig command. Fixes gh-3115 --- .../org/springframework/boot/loader/tools/launch.script | 1 + 1 file changed, 1 insertion(+) 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 16862b0671..5531d4a095 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,6 +17,7 @@ # Default-Stop: 0 1 6 # Short-Description: Spring Boot Application # Description: Spring Boot Application +# chkconfig: 345 99 01 ### END INIT INFO [[ -n "$DEBUG" ]] && set -x