服务状态控制

systemctl

restart

服务名

重启服务

systemctl

start

服务名

启动服务

systemctl

stop

服务名

关闭服务

systemctl

reload

服务名

更新服务参数

systemctl

enable

服务名

加入开机启动

systemctl

status

服务名

查看服务状态

原文地址:https://www.cnblogs.com/rygl/p/11828993.html