Introduction to nginx shutdown/restart/start method

王林
Release: 2020-03-18 18:00:25
forward
3258 people have browsed it

Introduction to nginx shutdown/restart/start method

Close

service nginx stop
Copy after login
systemctl stop nginx
Copy after login

Start

service nginx start
Copy after login
systemctl start nginx
Copy after login

(Recommended tutorial: nginx tutorial)

Restart

service nginx reload
Copy after login
systemctl restart nginx
Copy after login

Automatically run when the system starts

systemctl enable nginx
Copy after login

Disable automatic operation when the system starts

systemctl disable nginx
Copy after login

The above is the detailed content of Introduction to nginx shutdown/restart/start method. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:csdn.net
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template