Red Hat Bugzilla – Bug 821163
rc.local doesn't work
Last modified: 2012-05-14 08:10:49 EDT
rc.local is not a standard service, and it never was. There is no start, stop, status ...
rc-local.service is wrong.
# systemctl enable rc-local.service
Warning: unit files do not carry install information. No operation executed.
OK. reboot needed. It runs by default.
Correct. There's a note about it in the unit file:
# This unit gets pulled automatically into multi-user.target by
# systemd-rc-local-generator if /etc/rc.d/rc.local is executable.
I recommend creating your own unit though instead of using rc.local. That way you have more control over its ordering, etc.