[CentOS] Cemtos 6 - rc.local does not run

Jonathan Billings billings at negate.org
Mon Jul 14 17:41:58 UTC 2014


On Mon, Jul 14, 2014 at 12:27:47PM -0500, Ian Pilcher wrote:
> On 07/14/2014 10:39 AM, Cosme Corrêa wrote:
> > Is there a special step for this?
> 
> systemctl enable rc-local.service

This shouldn't be required.  The rc-local.service should automatically
start in the multi-user.target if the file /etc/rc.d/rc.local exists,
and is executable.

Make sure you're using /etc/rc.d/rc.local and not /etc/rc.local.
There should already be a compatibility symlink (same as in EL6).

-- 
Jonathan Billings <billings at negate.org>



More information about the CentOS mailing list