Enable rc.local

To enable /etc/rc.local file run on system startup on servers runing systemd, you can run

systemctl enable rc-local

Now you need to create file /etc/rc.local with 755 permission.

touch /etc/rc.local
chmod 755 /etc/rc.local

See Autostart

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *