From the course: LPIC-1 Exam 101 (Version 5.0) Cert Prep

Unlock this course with a free trial

Join today to access over 25,600 courses taught by industry experts.

Manage systemd services

Manage systemd services

- [Instructor] System services are processes started by the OS, and they're managed by the System CTL command. With System CTL, we can start, stop, and restart services. Let's look at all unit files. In a terminal, type in System CTL, space, list dash unit dash files, space, dash AT, space, service, and hit Enter. This will show which services are enabled and disabled. Let's pick the AT service since it's enabled. Let's stop the AT service using System CTL. You'll need to elevate privileges using Sudu. Press Q to quit, and then type in Sudu, space, System CTL, 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 System CTL, 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 back up, using the System CTL command. We'll need to elevate privileges…

Contents