Configure Network Services To Start Automatically At Boot

General Information

Ensuring services are auto started on boot.


Auto Start on Boot

Example for services that are not the NIC itself:

systemctl enable httpd


To ensure the actual network interface will connect on boot (ens3 interface example):

nmcli con show ens3 | grep autoconnect
 
# Set to yes if autoconnect is no
nmcli con mod "ens3" connection.autoconnect yes


Or, edit /etc/sysconfig/network-scripts/ifcfg-ens3, to have the line:

ONBOOT=yes