How to enable rc.local shell script on systemd while booting Linux system
To enable an rc.local shell script on a systemd-based Linux system during boot, you can follow these steps: Create a file named “rc-local.service” in the “/etc/systemd/system” directory. Open the file in your text editor and paste the following content: [Unit] Description=/etc/rc.local compatibility [Service] Type=forking ExecStart=/etc/rc.local start TimeoutSec=0 StandardOutput=tty RemainAfterExit=yes SysVStartPriority=99 [Install] WantedBy=multi-user.target Make the file … Read more