kardianos/service
A Go library that installs, starts, stops and uninstalls programs as system services. It hides the differences between Windows services, systemd, Upstart, SysV and launchd behind one API, and can tell whether a program was started from a terminal or a service manager. Known gaps are documented, including unsupported dependency fields on Linux and launchd.
Maintenance activity