Add "INIT INFO" property substitutions
Update the "INIT INFO section" of `launch.script` to include
`initInfoProvides`, `initInfoShortDescription` and `initInfoDescription`
property substitutions.
The Maven plugin has been updated to populate substitutions with
`${project.artifactId}`, `${project.name}` and `${project.description}`.
Fixes gh-4245
This commit is contained in:
@@ -10,13 +10,13 @@
|
||||
#
|
||||
|
||||
### BEGIN INIT INFO
|
||||
# Provides: spring-boot-application
|
||||
# Provides: {{initInfoProvides:spring-boot-application}}
|
||||
# Required-Start: $remote_fs $syslog $network
|
||||
# Required-Stop: $remote_fs $syslog $network
|
||||
# Default-Start: 2 3 4 5
|
||||
# Default-Stop: 0 1 6
|
||||
# Short-Description: Spring Boot Application
|
||||
# Description: Spring Boot Application
|
||||
# Short-Description: {{initInfoShortDescription:Spring Boot Application}}
|
||||
# Description: {{initInfoDescription:Spring Boot Application}}
|
||||
# chkconfig: 2345 99 01
|
||||
### END INIT INFO
|
||||
|
||||
|
||||
Reference in New Issue
Block a user