服务状态控制

systemctl

restart

服务名

重启服务

systemctl

start

服务名

启动服务

systemctl

stop

服务名

扫描二维码关注公众号,回复: 7806257 查看本文章

关闭服务

systemctl

reload

服务名

更新服务参数

systemctl

enable

服务名

加入开机启动

systemctl

status

服务名

查看服务状态

猜你喜欢

转载自www.cnblogs.com/rygl/p/11828993.html