朱纯树博客
VPS测评推荐网站
cloudacead cloudacead

停止nginx服务的方法有哪些

停止nginx服务的方法有哪些插图

停止nginx服务有四种方法,如下:

1、从容停止服务

这种方法相对于温和一些,需要进程完成当前工作后再停止服务,命令如下:

nginx -s quit

2、立即停止服务

这种方法比较强硬,无论进程是否在工作,都直接停止进程,命令如下:

nginx -s stop

3、systemctl 停止

systemctl属于Linux命令,具体命令如下:

systemctl stop nginx.service

4、killall 方法杀死进程

直接杀死进程,这种方法一般使用在上面的方法都无效的情况下,具体命令如下:

killall nginx

文章来源于互联网: 停止nginx服务的方法有哪些

赞(0) 打赏
未经允许不得转载:VPS测评推荐网站 - 朱纯树博客 » 停止nginx服务的方法有哪些

评论 24

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址
  1. #30

    I read this article fully on the topic of the comparison of most recent and preceding technologies, it’s amazing article.

    billvolhein.com5个月前 (09-10)回复
  2. #29

    I do not even know how I ended up here, but I thought this post was great.

    I don’t know who you are but definitely you’re going to a famous blogger if you are not already
    😉 Cheers!

  3. #28

    You should take part in a contest for one of the highest quality sites on the web.
    I am going to highly recommend this web site!

    http://tinyurl.com5个月前 (09-05)回复
  4. #27

    An outstanding share! I’ve just forwarded this onto a
    friend who was conducting a little research on this. And he actually ordered me dinner because I found it for him…
    lol. So allow me to reword this…. Thank YOU for the meal!!
    But yeah, thanks for spending time to talk about this subject here on your web page.

    Here is my blog post … coupon

    coupon5个月前 (09-02)回复
  5. #26

    Howdy! Someone in my Facebook group shared this site with us so I came to give it a look.
    I’m definitely enjoying the information. I’m bookmarking and will be tweeting this to my
    followers! Great blog and great design and style.

    tinyurl.com6个月前 (08-15)回复
  6. #25

    I was recommended this web site by my cousin. I’m not sure whether this post is written by him as nobody else know such
    detailed about my trouble. You’re incredible! Thanks!

    tinyurl.com6个月前 (08-12)回复
  7. #24

    After going over a handful of the blog posts on your
    web page, I really appreciate your way of blogging.
    I book marked it to my bookmark webpage list and will be checking back in the near future.
    Please visit my web site as well and tell me your opinion.

  8. #23

    Hi there! I’m at work browsing your blog from my
    new iphone! Just wanted to say I love reading through
    your blog and look forward to all your posts! Carry on the superb work!

    http://tinyurl.com6个月前 (08-01)回复
  9. #22

    It’s awesome to pay a visit this website and reading
    the views of all colleagues on the topic of this post, while I am also zealous of getting know-how.

    http://tinyurl.com/6个月前 (07-28)回复