[CentOS] systemd missing something?

Gordon Messmer gordon.messmer at gmail.com
Sun May 7 15:30:26 UTC 2017


On 05/07/2017 07:22 AM, ken wrote:
> "Note that traditional init scripts continue to function on a systemd
> system. An init script /etc/rc.d/init.d/foobar is implicitly mapped
> into a service unit foobar.service during system initialization."
> ...
> However, what it implies doesn't seem to work out. 

It does not imply what you infer, because it explicitly says that the 
file in init.d is mapped to a systemd service unit.  The files in rc.d 
are not used, because systemd does not boot to runlevel 2, 3, 4, or 5.

If you want "network" to start on boot, you would use "systemctl enable 
network".  (You would also want to "systemctl disable NetworkManager")



More information about the CentOS mailing list