spring-boot/spring-boot-tools
Andy Wilkinson d071db8cc9 Align launch.script with the init script spec
The init script spec [1] describes a number of requirements with which
our launch.script did not comply. This commit makes the following
corrections:

 - Add support for force-reload which should be implemented by all
   init scripts
 - Don't fail restart if the service is already stopped or not running
 - Consider stop to be successful if the service is already stopped
 - Exit with 1 if stop fails (indicating a generic or unspecified error)
   rather than 3 (unimplemented feature)
 - Report a status of 1 if app is not running but the pid file exists
 - Report a status of 3 if the app is not running (no pid file)

Closes gh-4231

[1] http://refspecs.linuxbase.org/LSB_3.1.0/LSB-Core-generic/LSB-Core-generic/iniscrptact.html
2015-10-20 11:27:43 +01:00
..
spring-boot-antlib Organize imports with new settings 2015-10-19 12:58:34 -07:00
spring-boot-configuration-metadata Organize imports with new settings 2015-10-19 12:58:34 -07:00
spring-boot-configuration-processor Polish 2015-10-19 13:04:06 -07:00
spring-boot-gradle-plugin Organize imports with new settings 2015-10-19 12:58:34 -07:00
spring-boot-loader Merge remote-tracking branch 'local12x/1.2.x' 2015-10-19 12:56:55 -07:00
spring-boot-loader-tools Align launch.script with the init script spec 2015-10-20 11:27:43 +01:00
spring-boot-maven-plugin Organize imports with new settings 2015-10-19 12:58:34 -07:00
pom.xml Next Development Version 2015-10-16 05:57:24 -07:00