Product SiteDocumentation Site

6.2.2. Running the Service

To run a service, use the systemctl command in the following form:
systemctl start service_name.service
This will start the service in the current session. To configure the service to be started at boot time, refer to Section 6.1.1, “Enabling the Service”.

Example 6.5. Running the httpd service

Example 6.1, “Enabling the httpd service” illustrated how to run the httpd service at boot time. You can start the service immediately by typing the following at a shell prompt as root:
~]# systemctl start httpd.service