From the course: LPIC-1 Exam 101 (Version 5.0) Cert Prep
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Make systemd services persistent - Linux Tutorial
From the course: LPIC-1 Exam 101 (Version 5.0) Cert Prep
Make systemd services persistent
- [Instructor] When a Linux system boots up certain services are run automatically by system d. We can enable services so they start automatically, or disable them so they don't. To see what services are enabled or disabled, type into a terminal systemctl list-unit-files -at service and hit enter. Let's choose a service that's enabled and disable it. I'm going to choose atd.service. Press Q to quit and then type in sudo systemctl disable atd and hit enter. Type in your password and hit enter again. We can press the up arrow key twice to bring back our list unit file's line and hit enter. We can now see that our atd.service is disabled. Press Q to quit. We can also use a simpler command. Type in systemctl is-enabled atd and hit enter. To renable atd we'll use the systemctl command again. Type in sudo systemctl enable atd and hit enter. And verify with systemctl is-enabled atd and hit enter. We could also check the status of…
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
-
-
-
-
-
(Locked)
About SysVinit, systemd, and Upstart2m 32s
-
Get systemd service status3m 56s
-
(Locked)
Manage systemd services2m 33s
-
(Locked)
Make systemd services persistent1m 40s
-
(Locked)
About SysVinit services6m 4s
-
(Locked)
Change runlevels/targets3m 45s
-
(Locked)
Boot into the emergency target4m 13s
-
(Locked)
Locate and interpret system log files4m 43s
-
(Locked)
Reading the system journal3m 1s
-
(Locked)
-
-
-
-
-
-
-
-
-
-