© The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature 2023
N. TolaramSoftware Development with Gohttps://doi.org/10.1007/978-1-4842-8731-6_17

17. systemd

Nanik Tolaram1  
(1)
Sydney, NSW, Australia
 

In this chapter, you will look at systemd, what it is, and how to write Go applications to interact with it. systemd is an important piece of software inside the Linux system, and it is too big to be covered entirely in this chapter.

You will look at an open source systemd Go library that is available and how to use it to access systemd. In this chapter, you will do the following:
  • Learn what systemd provides

  • Interact with systemd using systemctl and journalctl

  • Use the go-systemd library to write code

  • Write log messages to a ...

Get Software Development with Go: Cloud-Native Programming using Golang with Linux and Docker now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.