centos7查询开机启动项及设置服务为开机自启动
centos7查询开机启动项
systemctl list-unit-files
systemctl list-unit-files | grep enable
centos7设置开机自启
https://blog.csdn.net/chenxiabinffff/article/details/51374635
https://blog.csdn.net/zpwangshisuifeng/article/details/93222501