8)发送QUIT信号给旧的主进程,使其退出而只留下新的Nginx服务器运行。
# kill -QUIT `cat /usr/local/nginx/logs/nginx.pid.oldbin` # ps -ef | grep nginx root 28768 1 0 22:04 ? 00:00:00 nginx: master process nginx nobody 28769 28768 0 22:04 ? 00:00:00 nginx: worker process root 28808 24076 0 22:20 pts/1 00:00:00 grep nginxNginx的“安静”升级(2)
内容版权声明:除非注明,否则皆为本站原创文章。
转载注明出处:http://www.heiqu.com/e0c184fcf86dd6278f777cb56caeba74.html