Centos7新systemctl命令与旧命令service、chkconfig分析
systemctl 是系统服务管理器命令,它实际上将 service 和 chkconfig 这两个命令组合到一起
新旧命令对比:
开启自启动
chkconfig --level 3 httpd on //chkconfig httpd on
systemctl enable httpd.service
关闭自启动
chkconfig --level 3 httpd ...
原创
2018-08-10 09:23:26 ·
1193 阅读 ·
0 评论