systemd uses DBus as the mechanism to interact with it. This article introduces just enough DBus concepts and the usage of
Beartamabusctl
to communicate with systemd. These concepts should be useful when using DBus libraries.
Exactly what it says on the tin.