CentOS7 查看,开启,关闭自启动软件

查看哪些是自启动服务
systemctl list-units

开机自启动
systemctl enable revicename.service

关闭开机自启动
systemctl disable revicename.service

重新加载配置文件
systemctl reload sevicename.service

查看服务状态
systemctl status revicename.service

 

posted @ 2022-04-13 12:08  安桌的拉北鼻  阅读(284)  评论(0)    收藏  举报