Start Stop And Check The Status Of Network Services

General Information

General service management.


Start a Network Service

systemctl start httpd


Stop a Network Service

systemctl stop httpd


Check to see if the service is active

systemctl is-active httpd


Check Status of a Network Service

systemctl status httpd


Check if the service is enabled at boot

systemctl is-enabled httpd


Enable at boot

systemctl enable httpd


Prevent a service from starting

systemctl mask httpd


Undo preventing a service from starting

systemctl unmask httpd