How to correctly restart nginx?

Igor Sysoev is at
Wed Feb 18 18:28:40 MSK 2009

On Wed, Feb 18, 2009 at 12:36:39PM +0000, Nuno Magalh??es wrote:

> AFAIK kill -HUP will not kill the process but rather make it read its
> configuration file )which is what the OP wants anyway).
> You could also try /etc/init.d/nginx restart
> Works on Debian, might work on RH. Find the directory for your
> distro's startup scripts, one of them oughta be nginx, pass "restart"
> to it.

Have not Linux init scripts a "reload" option to gracefully restart service
using -HUP ?

Igor Sysoev

More information about the nginx mailing list