Linux : How to add rc.local in Debian 9

On Debian 9, the traditional “rc.local” has been deprecated. For traditional Linux users and administrators, there is a way to get it back using SystemD. See the procedure below : 1. Edit the non-existing file “rc-local.service” : vi /etc/systemd/system/rc-local.service 1.1. Add the following content to “/etc/systemd/system/rc-local.service” : [Unit] Description=/etc/rc.local ConditionPathExists=/etc/rc.local [Service] Type=forking ExecStart=/etc/rc.local start TimeoutSec=0 … Continue reading Linux : How to add rc.local in Debian 9