How to correctly restart nginx?
is at rambler-co.ru
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 ?
More information about the nginx