• Andy Wilkinson's avatar
    Align launch.script with the init script spec · d071db8c
    Andy Wilkinson authored
    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
    d071db8c
Name
Last commit
Last update
docs Loading commit data...
eclipse Loading commit data...
spring-boot Loading commit data...
spring-boot-actuator Loading commit data...
spring-boot-actuator-docs Loading commit data...
spring-boot-autoconfigure Loading commit data...
spring-boot-cli Loading commit data...
spring-boot-dependencies Loading commit data...
spring-boot-deployment-tests Loading commit data...
spring-boot-devtools Loading commit data...
spring-boot-docs Loading commit data...
spring-boot-full-build Loading commit data...
spring-boot-integration-tests Loading commit data...
spring-boot-parent Loading commit data...
spring-boot-samples Loading commit data...
spring-boot-starters Loading commit data...
spring-boot-tools Loading commit data...
.gitignore Loading commit data...
.settings-template.xml Loading commit data...
.travis.yml Loading commit data...
CONTRIBUTING.adoc Loading commit data...
LICENSE.txt Loading commit data...
README.adoc Loading commit data...
pom.xml Loading commit data...