go-systemd

Go bindings to systemd socket activation, journal and D-BUS APIs.

Socket Activation

See an example in examples/activation/httpserver.go. For easy debugging use /usr/lib/systemd/systemd-activate