From the course: Red Hat Certified System Administrator (EX200) Cert Prep: 1 Deploy, Configure, and Manage (2021)

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Manage systemd services

Manage systemd services

- [Instructor] System services are processes started by the OS, and they're managed by the systemctl command. With systemctl, we can start, stop, and restart services. Let's look at all unit files. In a terminal, type in systemctl space list dash unit dash files space dash at space service and hit enter. This will show which services are enabled or disabled. Let's pick the at service since it's enabled. Let's stop the at service using systemctl. You'll need to elevate privileges using sudo. Press Q to quit and then type in sudo space systemctl space stop space atd and hit enter. Type in your password and hit enter again. Now let's check the status of the atd service. Type in systemctl space status space atd and hit enter. We can see that the atd service is enabled, but is not currently running. We can start the atd service backup using the systemctl command. We'll need to elevate privileges using sudo space systemctl…

Contents