coreos/go-systemd
Go bindings to systemd socket activation, journal, D-Bus, and unit files observed · 2026-08-28
Health v2 · maintenance only
77/100
- Activity 93
- Release rhythm 44
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 160
- age_days: 4737
- days_rel: 218
- days_push: 42
- n_releases_24m: 2
Adoption not part of the score
2711 stars · 337 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
Go bindings for systemd covering socket activation, sd_notify service notifications, the D-Bus API, journald read/write, logind, machined, and unit file parsing. It lets Go applications integrate natively with systemd service management and logging on Linux.
Use cases
- write a Go HTTP server that uses systemd socket activation
- notify systemd of service readiness and watchdog events via sd_notify
- start, stop, and inspect systemd units from Go code
- write structured log entries to journald from a Go application
- read and query journald logs programmatically
- parse and compare systemd unit files in Go
- register containers or machines with systemd machined
When to choose
- your Go service runs on a systemd-based Linux distribution and needs native integration
- you need socket activation or sd_notify watchdog support in Go
- you want to control or introspect systemd units programmatically
- you need structured journald logging or journal reading from Go
When to avoid
- your application targets non-Linux platforms where systemd is unavailable
- you only need generic logging without journald-specific features
- you cannot use cgo, since the sdjournal read package requires it
Facets
library · maturity stable
logging middleware developer-tools developer-tools operating-systems backend go systemd journald dbus socket-activation sd-notify unit-files logind machined linux
1 source
- readme: https://github.com/coreos/go-systemd · fetched 2026-08-28 · 5e371b9082ef
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| coreos/go-systemd | main | 77 |
For agents
markdown · JSON · MCP: product_card(name="coreos/go-systemd")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem