diff options
author | Thomas Claveirole <thomas.claveirole@green-communications.fr> | 2017-09-25 15:20:29 +0200 |
---|---|---|
committer | Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> | 2017-09-27 00:12:55 +0200 |
commit | 23094a0df9fc287f1c83fe2561a076d80c213015 (patch) | |
tree | abe621bf171a447a1399b2b46bbea642ce9e70b4 /support/scripts | |
parent | 9f4178ac79f7d5060e676eb06493a3a57a918cb8 (diff) | |
download | buildroot-23094a0df9fc287f1c83fe2561a076d80c213015.tar.gz buildroot-23094a0df9fc287f1c83fe2561a076d80c213015.zip |
nginx (S50nginx): Fix stop, reload, restart. Add force-reload.
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@green-communications.fr>
Reviewed-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Diffstat (limited to 'support/scripts')
0 files changed, 0 insertions, 0 deletions