On Sat, Mar 11, 2023 at 10:20:04AM +0800, cor...@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".