停止nginx服务有四种方法,如下:
1、从容停止服务
这种方法相对于温和一些,需要进程完成当前工作后再停止服务,命令如下:
nginx -s quit
2、立即停止服务
这种方法比较强硬,无论进程是否在工作,都直接停止进程,命令如下:
nginx -s stop
3、systemctl 停止
systemctl属于Linux命令,具体命令如下:
systemctl stop nginx.service
4、killall 方法杀死进程
直接杀死进程,这种方法一般使用在上面的方法都无效的情况下,具体命令如下:
killall nginx
文章来源于互联网: 停止nginx服务的方法有哪些
I read this article fully on the topic of the comparison of most recent and preceding technologies, it’s amazing article.
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!
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!
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
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.
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!
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.
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!
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.