重启服务
systemctl restart 是「服务与电源」分类下的常用命令,作用是:重启服务。
systemctl restart
典型用法如下:sudo systemctl restart nginx。你可以查看本页上方同组的相关命令,或直接复制到终端运行。
sudo systemctl restart nginx