baishaojie dcf2cbd820 first commit | 11 ヶ月 前 | |
---|---|---|
.. | ||
.gitignore | 11 ヶ月 前 | |
.travis.yml | 11 ヶ月 前 | |
LICENSE | 11 ヶ月 前 | |
README.md | 11 ヶ月 前 | |
appveyor.yml | 11 ヶ月 前 | |
console.go | 11 ヶ月 前 | |
go.mod | 11 ヶ月 前 | |
go.sum | 11 ヶ月 前 | |
linux-test-su.sh | 11 ヶ月 前 | |
service.go | 11 ヶ月 前 | |
service_aix.go | 11 ヶ月 前 | |
service_darwin.go | 11 ヶ月 前 | |
service_freebsd.go | 11 ヶ月 前 | |
service_go1.8.go | 11 ヶ月 前 | |
service_linux.go | 11 ヶ月 前 | |
service_solaris.go | 11 ヶ月 前 | |
service_systemd_linux.go | 11 ヶ月 前 | |
service_sysv_linux.go | 11 ヶ月 前 | |
service_unix.go | 11 ヶ月 前 | |
service_upstart_linux.go | 11 ヶ月 前 | |
service_windows.go | 11 ヶ月 前 | |
version.go | 11 ヶ月 前 |
service will install / un-install, start / stop, and run a program as a service (daemon). Currently supports Windows XP+, Linux/(systemd | Upstart | SysV), and OSX/Launchd.
Windows controls services by setting up callbacks that is non-trivial. This is very different then other systems. This package provides the same API despite the substantial differences. It also can be used to detect how a program is called, from an interactive terminal or from a service manager.