Linux › Section F · How user space starts › Topic F.2

systemd units and unit files

systemd describes everything it manages, from daemons to mounted filesystems, as a unit defined in a short text file. Learn to read and write those files and you can understand, change and extend how a modern Linux system starts.

In this topic

  • Everything is a unit
  • Where unit files live
  • The anatomy of a unit file
  • Worked example: a service for a small web app
  • Service types and readiness
  • Commands, variables and the environment
  • Template units and specifiers
  • Worked example: one template, many instances
  • Drop-ins: changing a unit without editing it
  • Common mistakes to avoid
  • Key takeaways

This topic is part of Wuanberri Pro. Checking your access…

← Previous topicNext topic →