2.Nginx 信号量(开,关,重载等)

说明: 

1. nginx安装目录为 /usr/local/nginx

2. Use the following syntax: nginx -s signal

3. This command should be executed under the same user that started nginx.

具体如下:

  1. /usr/local/nginx/sbin/nginx — start service
  2. /usr/local/nginx/sbin/nginx -s stop — fast shutdown
  3. /usr/local/nginx/sbin/nginx -s quit — graceful shutdown
  4. /usr/local/nginx/sbin/nginx -s reload — reloading the configuration file
  5. /usr/local/nginx/sbin/nginx -s reopen — reopening the log files

猜你喜欢

转载自blog.csdn.net/snail_Bao/article/details/81324062