[Buildroot] [PATCH 1/1] nginx (S50nginx): Fix stop, reload, restart. Add force-reload.

Samuel Martin s.martin49 at gmail.com
Tue Sep 26 20:05:13 UTC 2017

On Mon, Sep 25, 2017 at 3:20 PM, Thomas Claveirole
<thomas.claveirole at green-communications.fr> wrote:
> Fix package/nginx/S50nginx:
> * On stop, use start-stop-daemon -R 1 to wait for the nginx processes
>   to actually stop.  This fixes a race condition with restart, where
>   nginx fails to restart because start is called too early
>   w.r.t. stop.  (This only works with Debian's start-stop-daemon,
>   however BusyBox's start-stop-daemon does not fail when given -R; it
>   just ignores the argument silently).
> * Implement reload with an actual reload instead of a restart.
> * Add force-reload.
> Signed-off-by: Thomas Claveirole <thomas.claveirole at green-communications.fr>

Reviewed-by: Samuel Martin <s.martin49 at gmail.com>



More information about the buildroot mailing list