I feel like Im dancing around perhaps the most fundamental piece of my operating system everytime I run and install software. Starting services with systemctl and checking logs with journalctl is the extent of my knowledge.
Do you know of good resources or tutorials for learning how systemd works and how to use it to run software on my desktop and servers? Thanks.
The official website has ton of documentation and external links: https://systemd.io/
- Credentials
- Desktop Environment Integration
- Portable Services Introduction
- … and more
- Arch Linux wiki
- Debian wiki
- Gentoo wiki
- Ubuntu wiki
And here some tutorials:
- https://systemd-by-example.com/ - a tutorial with interactive examples
Next up: Learn how to create
.servicefile, you may be able to use it from the template provided.Then learn about
targetandunitFind these on Youtube
Then .timer. Then .mount. Then .automount. Then .socket.
It seems even I have many many many things to learn still
Then .device and .boot and .home and .gov and .co.uk
The best crash course I received was when I needed to translate my startup scripts into systemd services. The hands-on learning was priceless.
I always recommend people learning by doing. But playing around with system tools to see and learn how it works is a bit risky. However in a virtual machine this is probably a good idea to see how things work.
The arch wiki is always a good place to check for these sorts of things, whether or not you use arch btw.
The man pages.
Can’t help you, i avoid it like the plague.
“I don’t use systems btw” 🤓☝️
Gentoo OpenRC gang rise up!






