Enable rc.local
To enable /etc/rc.local file run on system startup on servers runing systemd, you can run
1 |
systemctl enable rc-local |
Now you need to create file /etc/rc.local with 755 permission.
1 2 |
touch /etc/rc.local chmod 755 /etc/rc.local |
See Autostart