SCIENTIFIC-LINUX-USERS Archives

August 2015

SCIENTIFIC-LINUX-USERS@LISTSERV.FNAL.GOV

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Jim Campbell <[log in to unmask]>
Reply To:
Date:
Sat, 29 Aug 2015 16:18:05 -0500
Content-Type:
text/plain
Parts/Attachments:
text/plain (37 lines)
Hi

On Sat, Aug 29, 2015, at 02:43 PM, ToddAndMargo wrote:
> You would think this one would be an easy one to find
> on the net, but ...
> 
> First, before anyone shakes the finger at me,
> 
>         $ ls -al /etc/rc.d/rc.local
>         -rwxr--r--. 1 root root 1013 Aug 29 11:20 /etc/rc.d/rc.local
> 
> How do you get rc.local to execute at boot time?
> 
> I can execute it from the command line with and it does
> what I want:
> 
>        # systemctl start rc-local
> 
> but it doesn't want to start at boot.
> 
> Many thanks,
> -T
> 
> $ systemctl -la | grep -i rc-local
> 
> rc-local.service 
>  
>         loaded failed   failed    /etc/rc.d/rc.local Compatibility

To get systemd to start something at boot, you enter:

  systemctl enable foo

Hope that helps,

Jim

ATOM RSS1 RSS2