HostOnNet Blog

CentOS 7 rc.local not working

Looking for Linux Server Admin or WordPress Expert? We can help.

To get /etc/rc.local working on CentOS 7, first you need to set it executable.

chmod +x /etc/rc.d/rc.local

Now enable rc-local service with command

systemctl enable rc-local

Now start service.

systemctl start rc-local

Verify it is running properly

systemctl status rc-local

Posted in CentOS

Leave a Reply

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.