From the course: Learning Debian Linux
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Managing services - Linux Tutorial
From the course: Learning Debian Linux
Managing services
- [Instructor] Services are programs or software that run in the background and wait to be called for some purpose. Debian uses systemd to manage the systems startup and services that the system runs. Systemd uses unit files to define how services are controlled and what specifically they do when they're called. Unit files are filed in the /etc/systemd directory and user and system modifications can be put in the user and systems subdirectories there. We can see all of the units by typing systemctl. Here I can scroll up and down with the arrows, and when I'm done I can press q. We can narrow down this list to only the services with systemctl -t service. This display shows what unit file is responsible for a service and its state. We can see if the unit file has been loaded, whether it's active, and its sub state, things like whether it's waiting, active, failed, and so on. We can also drill down on a particular service…
Contents
-
-
-
-
(Locked)
Managing users and access5m 41s
-
(Locked)
Monitoring and controlling processes4m 36s
-
(Locked)
Managing services1m 58s
-
(Locked)
Managing software with APT6m 38s
-
(Locked)
Securing programs with AppArmor4m 2s
-
(Locked)
Configuring networking with NetworkManager4m 57s
-
(Locked)
Managing the firewall with nftables5m 28s
-
(Locked)
Exploring logs2m 53s
-
(Locked)
Upgrading to a new release4m 12s
-
(Locked)
-
-