📜  开始重启停止 Nginx 命令 - 任何代码示例

📅  最后修改于: 2022-03-11 15:00:33.190000             🧑  作者: Mango

代码示例1
sudo systemctl start nginx 
sudo systemctl stop nginx 
sudo systemctl restart nginx


sudo service nginx start
sudo service nginx stop
sudo service nginx restart

sudo /etc/init.d/nginx start
sudo /etc/init.d/nginx stop
sudo /etc/init.d/nginx restart