chkconfig 管理系统服务

[root@localhost ~]# chkconfig --list              # 列出开启或关闭了哪些系统服务
[root@localhost ~]# chkconfig xxx off             # 关闭某个系统服务
[root@localhost ~]# chkconfig xxx on              # 开启某个系统服务
[root@localhost ~]# chkconfig --level 3 xxx off   # 指定在哪个运行级别下关闭系统服务
[root@localhost ~]# chkconfig --add xxx           # 添加指定的系统服务,注意添加后要开启
[root@localhost ~]# chkconfig --del xxx           # 删除指定的系统服务
原文地址:https://www.cnblogs.com/mingerlcm/p/8024152.html