rc.local开机启动不生效的办法

cd /etc/rc.d/ chmod +x rc.local [root@115 rc.d]# systemctl status rc-local.service ○ rc-local.service – /etc/rc.d/rc.local Compatibility Loaded: loaded (/usr/lib/systemd/system/rc-local.service; enabled-runtime; vendor preset: disabl> Active: inactive (dead) Docs: man:systemd-rc-local-generator(8) [root@115 rc.d]# systemctl enable rc-local.service The unit files have no installation config (WantedBy=, RequiredBy=, Also=, Alias= settings in the [Install] section, and DefaultInstance= for template units). This means… Continue reading rc.local开机启动不生效的办法

Published
Categorized as web-php