spring-boot/spring-boot-tools/spring-boot-loader-tools
Andy Wilkinson 487a66a75f Resend SIGTERM if app is still running 30 seconds after first attempt
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
2016-01-14 10:37:45 +00:00
..
src Resend SIGTERM if app is still running 30 seconds after first attempt 2016-01-14 10:37:45 +00:00
pom.xml Next Development Version 2015-12-18 05:43:02 -08:00