Nginx信号指令

作者: pijh | 来源:发表于2018-05-29 16:03 被阅读7次

    常见 nginx 信号指令,官网文档

    常见指令

    TERM, INT Quick shutdown
    QUIT Graceful shutdown
    KILL Halts a stubborn process
    HUP Configuration reload
    Start the new worker processes with a new configuration
    Gracefully shutdown the old worker processes
    USR1 Reopen the log files
    USR2 Upgrade Executable on the fly
    WINCH Gracefully shutdown the worker processes

    Here’s how to send the QUIT (Graceful Shutdown) signal to the NGINX master process:

    $ kill -QUIT $( cat /usr/local/nginx/logs/nginx.pid )
    

    相关文章

      网友评论

        本文标题:Nginx信号指令

        本文链接:https://www.haomeiwen.com/subject/eirajftx.html