mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-09-03 04:26:12 +08:00
Previously, the default launch script would send SIGTERM once and then wait for up to 60 seconds for the app to have stopped. If the service was stopped immediately after being started the first SIGTERM would occasionally be ignored (presumably because the JVM was not yet in a state to handle it) causing the service stop request to fail. This commit updates the launch script to resend SIGTERM to the process if it's still running 30 seconds after the first SIGTERM was sent. Closes gh-4941 |
||
---|---|---|
.. | ||
spring-boot-antlib | ||
spring-boot-configuration-metadata | ||
spring-boot-configuration-processor | ||
spring-boot-gradle-plugin | ||
spring-boot-loader | ||
spring-boot-loader-tools | ||
spring-boot-maven-plugin | ||
pom.xml |