spring-boot/spring-boot-tools
Andy Wilkinson 70119449ce Add workaround for race condition in start-stop-daemon
There’s a race condition in start-stop-daemon when --make-pidfile and
--background are used together [1]. This race condition can lead to the
command returning before the PID file has been created. The missing PID
file then causes the launch script to incorrectly report that the
service failed to start.

This commit updates the launch script to wait for up to 10 seconds for
the PID file to be created when start-stop-daemon is used to launch the
app.

Closes gh-4524

[1] https://bugs.launchpad.net/ubuntu/+source/dpkg/+bug/1036899
2015-12-01 11:47:22 +00:00
..
spring-boot-antlib Next Development Version 2015-11-16 03:18:54 -08:00
spring-boot-configuration-metadata Polish 2015-11-21 08:12:21 +01:00
spring-boot-configuration-processor Merge branch '1.2.x' 2015-11-26 20:25:00 +01:00
spring-boot-gradle-plugin Polish 2015-11-21 08:12:21 +01:00
spring-boot-loader Use fast exceptions in findResource(s) 2015-11-30 09:51:15 +01:00
spring-boot-loader-tools Add workaround for race condition in start-stop-daemon 2015-12-01 11:47:22 +00:00
spring-boot-maven-plugin Polish 2015-11-21 08:12:21 +01:00
pom.xml Next Development Version 2015-11-16 03:18:54 -08:00