How to enable rc.local

How to enable rc.local

To enable /etc/rc.local file run on system startup for server runing systemd, run:

systemctl enable rc-local

Then create /etc/rc.local file with 755 permission

touch /etc/rc.local
chmod 755 /etc/rc.local
whoami
Stefan Pejcic
Join the discussion

I enjoy constructive responses and professional comments to my posts, and invite anyone to comment or link to my site.