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

posted @ 2021-05-20 10:10  小小白兔兔  阅读(72)  评论(0编辑  收藏  举报