摘要:
1. 给old-nginx 发送信号,启动new-nginx 作为old-nginx 的子进程。kill -USR2 `cat xx/logs/nginx.pid`2. 给old-nginx发送信号,在处理完所有请求后,不再fork worker进程。kill -WINCH`cat xx/logs/nginx.pid.oldbin`3. 给old-nginx 发送信号,退出old-nginx 的master进程。kill -QUIT`cat xx/logs/nginx.pid.oldbin` 阅读全文