[Buildroot] [PATCH 1/1] package/nginx/S50nginx: Do not assume start-stop-daemon knows -R.

Peter Korsgaard peter at korsgaard.com
Tue Oct 17 09:07:18 UTC 2017


>>>>> "Thomas" == Thomas Claveirole <thomas.claveirole at green-communications.fr> writes:

 > start-stop-daemon fails on -R when not compiled with
 > CONFIG_FEATURE_START_STOP_DAEMON_FANCY.  Thus, do not rely on -R
 > during stop to avoid a race condition during restart.

 > Use a sleep 1 during restart instead, as suggested by Peter Korsgaard
 > in <87bmluk4bm.fsf at dell.be.48ers.dk>.

 > Signed-off-by: Thomas Claveirole <thomas.claveirole at green-communications.fr>

Committed to 2017.08.x, thanks.

-- 
Bye, Peter Korsgaard


More information about the buildroot mailing list