【Linux】關於 CentOS7.x /etc/rc.d/rc.local

CentOS6.x上習慣用 /etc/rc.local 文件來開機自啓動我們一些服務或者操作了,但是CentOS7.x改了,chkconfig也不能用了。 CentOS7.x 已經寫了要chmod +x /etc/rc.d/rc.local 授權一下才會起作用。   # cat /etc/rc.d/rc.local   # systemctl status rc-local.service # c
相關文章
相關標籤/搜索