##关闭所有服务
for sun in chkconfig --list|grep 3:on|awk '{print $1}'
;do chkconfig --level 3 $sun off;done
##启动必要服务(可以根据实际需要修改)
for sun in YDService atd crond rsyslog sshd network udev-post sysstat vm-agent;do chkconfig --level 3 $sun on;done
转载于:https://blog.51cto.com/9625010/2400728
最后
以上就是清新小鸭子最近收集整理的关于centos6.x开机自启动服务的全部内容,更多相关centos6内容请搜索靠谱客的其他文章。
本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
发表评论 取消回复