Product SiteDocumentation Site

6.2.3. Stopping the Service

To stop a service, use the systemctl command in the following form:
systemctl stop service_name.service
This will stop the service in the current session. To disable starting the service at boot time, refer to Section 6.1.1, “Enabling the Service”.

Example 6.6. Stopping the telnet service

Example 6.2, “Disabling the telnet service” illustrated how to disable starting the telnet service at boot time. You can stop the service immediately by running the following command as root:
~]# systemctl stop telnet.service