[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: question about rc.local



On Fri 10 Mar 2023 at 23:21:57 (-0500), Greg Wooledge wrote:
> On Sat, Mar 11, 2023 at 10:20:04AM +0800, coreyh@free.fr wrote:
> > Is rc.local a regular service? I was thinking it's just a shell script run
> > by systemd.
> 
> rc-local.service is a systemd service.  It's enabled by default.
> 
> /etc/rc.local is the program that it will execute, if you create it and
> make it a functioning executable file.  It's traditionally a shell script,
> but that's up to you.
> 
> For more details, see "systemctl cat rc-local.service".

What goes around comes around:

https://lists.debian.org/debian-user/1999/03/msg01149.html

Cheers,
David.


Reply to: