Hacker GitHub

← All repos

coreos/go-systemd

View on GitHub ↗ ★ 2,719 Go

Go bindings to systemd socket activation, journal, D-Bus, and unit files

5 mentions on Hacker News by 5 people: 1 story, 4 comments · first 2020-02-23 · latest 2024-11-27

Mentions per year 5 mentions · busiest year 2021 (2)
20082026
  1. …a PR and add the necessary sd_notify features. Should be only a few lines of code if you import https://github.com/coreos/go-systemd/blob/main/daemon/sdnoti... and call it. Most Go projects won't add this by default, because the use-case…
  2. Most likely https://github.com/coreos/go-systemd
  3. …into the process. The actual code being executed from that repository is around 60 lines, I guess: https://github.com/coreos/go-systemd/blob/main/activation/li... I just used that rather than writing it myself because it felt like it…
    comment by mgdm · 2021-06-27 · in Avoiding Complexity with Systemd
  4. Yes that would indeed fix this. Can use https://pkg.go.dev/github.com/coreos/go-systemd/daemon for this. `go-systemd` is already an indirect dependency of `tailscale` so this doesn't contribute to dependency footprint either if that's a…