baishaojie dcf2cbd820 first commit | vor 11 Monaten | |
---|---|---|
.. | ||
.gitignore | vor 11 Monaten | |
.travis.yml | vor 11 Monaten | |
LICENSE | vor 11 Monaten | |
README.md | vor 11 Monaten | |
appveyor.yml | vor 11 Monaten | |
console.go | vor 11 Monaten | |
go.mod | vor 11 Monaten | |
go.sum | vor 11 Monaten | |
linux-test-su.sh | vor 11 Monaten | |
service.go | vor 11 Monaten | |
service_aix.go | vor 11 Monaten | |
service_darwin.go | vor 11 Monaten | |
service_freebsd.go | vor 11 Monaten | |
service_go1.8.go | vor 11 Monaten | |
service_linux.go | vor 11 Monaten | |
service_solaris.go | vor 11 Monaten | |
service_systemd_linux.go | vor 11 Monaten | |
service_sysv_linux.go | vor 11 Monaten | |
service_unix.go | vor 11 Monaten | |
service_upstart_linux.go | vor 11 Monaten | |
service_windows.go | vor 11 Monaten | |
version.go | vor 11 Monaten |
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.