Service 'stop' signal: replace TERM with QUIT
|Reported by:||https://stackoverflow.com/users/573152/bernard-rosset||Owned by:|
nginx version: nginx/1.6.2
built by gcc 4.7.2 (Debian 4.7.2-5)
According to the nginx documentation about control/signals (http://nginx.org/en/docs/control.html), the TERM signal used in the packages (at least Debian's one) make nginx closing 'fast', instead of being 'graceful'.
To avoid prematurely closing connections to clients and to benefit from nginx 'graceful' shutdown, it would be nice if the default signal sent for shutdown was QUIT.
The current timers are OK, which would mean using: QUIT/30/KILL/5 with start-stop-daemon