github coreos/go-systemd v5

latest releases: v22.5.0, v22.4.0, v22.3.2...
8 years ago

This release adds a number of new methods for working with the journal and exposing more information about systemd, as well as a minor bugfix and small internal code cleanup.

  • Add several new functions to sdjournal: AddDisjunction, AddConjunction, GetDataValue, FlushMatches, SetDataThreshold
  • Add ability to load journal from custom directory (sdjournal.NewJournalFromDir)
  • Add GetManagerProperty to dbus to obtain systemd1.manager interface properties
  • Add several utility functions to detect information when invoked from systemd (GetRunningSlice, RunningFromSystemService, CurrentUnitName, GetMachineID)
  • Add login1.Inhibit and login1.Subscribe
  • Add dbus.ListUnitFiles
  • Correctly propagate error during sdjournal.AddMatch

Don't miss a new go-systemd release

NewReleases is sending notifications on new releases.