Re: Trying to excute things on boot from /etc/rc.local
On Tue, Oct 01, 2019 at 12:58:22AM -0700, didier.gaumet@gmail.com wrote:
> Is your system a Systemd one (by default in Debian), you have to enable rc.local:
> https://www.linuxbabe.com/linux-server/how-to-enable-etcrc-local-with-systemd
You don't have to enable the rc-local service in Debian. It's already
enabled. You can verify this with systemctl status rc-local.
All you have to do are two steps:
1) Make sure /etc/rc.local begins with a valid shebang.
2) Make sure /etc/rc.local has execute permissions.
Reply to: