From the course: Cert Prep: LPIC-1 Exam 101 (Version 5.0)
Unlock the full course today
Join today to access over 22,400 courses taught by industry experts or purchase this course individually.
Manage systemd services - Linux Tutorial
From the course: Cert Prep: LPIC-1 Exam 101 (Version 5.0)
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…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
About SysVinit, systemd, and Upstart2m 32s
-
Get systemd service status3m 56s
-
Manage systemd services2m 33s
-
Make systemd services persistent1m 40s
-
About SysVinit services6m 4s
-
Change runlevels/targets3m 45s
-
Boot into the emergency target4m 13s
-
Locate and interpret system log files4m 43s
-
Reading the system journal3m 1s
-
-
-
-
-
-
-
-
-
-
-