Systemd Explained: The Ultimate Deep Dive for Linux Users
What is “Systemd”?
- It’s an “init system”
- Process that runs in the background (PID 1)
- most important process running on your server
- It manages all services that run in the background
- logging, dns resolve …
Working with Units
- Units in systemd are resources that it’s able to manage
- These include services, timers, mounts, automounts, and more
Systemd Unit Directories
Order in priority
- /etc/systemd/system
- most common
- /run/systemd/system
- runtime systemd unit
- /lib/systemd/system
- lowest priority
reload vs restart
- settings takes place without users disconnecting
- not all services will support reload
sudo systemctl daemon-reload