查看开机启动项 centos6 chkconfig --list | grep centos7 systemctl list-unit-files | grep enabled是开机启动,disabled是开机不启动