rc.local
January 26, 2023
To enable rc.local
in debian, create the file with contents:
#!/bin/sh -e
# Make sure that the script will "exit 0" on success or any other value on error.
exit 0
Give exec perms:
chmod +x /etc/rc.local
Then:
systemctl daemon-reload
And start with:
systemctl start rc-local