How to start, stop and permanently on/off service at boot time in RHEL/CentOS-7

In this tutorial i will explain, How we can start, stop service in CentOS/RHEL 7 and also how we can permanently on /off service at boot/startup time.
first run command to check service status, you can can service status using systemctl command .

Check service status
You can check any of service status with below command

# systemctl status NetworkManager

Samaple output:





Note: NetworkManager is service name, you can change with yours. as command output is showing service status is enable that means service is permanently on . It will automatically on at status. And as marked service is active . It means service is running at currently.

How to stop service in RHEL/CentOS 7

# systemctl stop NetworkManager

Again check status
sample output:

As above marked service is showing inactive. It means service service is not running currently.

Start service

# systemctl start NetworkManager

Restart service

# systemctl restart NetworkManager

How to permanently Off/Disable service at boot/Startup 

# systemctl disable NetworkManager

Check service status


As above marked service is permanently disabled.

How to enable service at boot/Startup 

# systemctl enable NetworkManager