github.com/One-com/gone/sd (go): Package sd aims to make it easier to write simple network daemons for Linux systemd  https://www.freedesktop.org/software/systemd/man/daemon.html  Specifically it supports the following:  Package "sd" is not depended on systemd as such. If there's no socket activation available the fallback is most often to just create the socket. If there's no notifiy socket, calling sd.Notify() will of course fail.  You can use package "sd" without any interaction with systemd, merely to manage a set of active socket file descriptors using the Cleanup() function to close all file decriptors not in use and Reset() to make all file descriptors in use available for creating Listeners/PacketConns again. This can be used for simple daemon reload schemes to respawn a daemon keeping it's file descriptors open. (with or without systemd).
Keywords: daemon|golang|logging-library|socket-activation|statsd-client|systemd