dnscrypt-proxy/vendor/github.com/kardianos/service
Frank Denis ed5431d7b9 Update deps 2019-12-16 20:04:38 +01:00
..
.gitignore Support installation as a service 2018-01-17 11:28:43 +01:00
.travis.yml Update deps 2018-11-15 13:38:08 +01:00
LICENSE Support installation as a service 2018-01-17 11:28:43 +01:00
README.md Support installation as a service 2018-01-17 11:28:43 +01:00
appveyor.yml Support installation as a service 2018-01-17 11:28:43 +01:00
console.go Support installation as a service 2018-01-17 11:28:43 +01:00
go.mod Update deps 2019-02-23 13:44:05 +01:00
go.sum Update deps 2019-02-23 13:44:05 +01:00
linux-test-su.sh Switch to Go modules 2019-03-01 18:44:37 +01:00
service.go Update deps 2019-12-16 20:04:38 +01:00
service_aix.go Update deps 2019-12-16 20:04:38 +01:00
service_darwin.go Update deps 2019-12-16 20:04:38 +01:00
service_go1.8.go Support installation as a service 2018-01-17 11:28:43 +01:00
service_linux.go Update kardianos/service 2019-11-17 22:54:56 +01:00
service_solaris.go Update deps 2019-12-16 20:04:38 +01:00
service_systemd_linux.go Update kardianos/service 2019-11-17 22:54:56 +01:00
service_sysv_linux.go Update deps for Go 1.11 2018-10-02 18:06:43 +02:00
service_unix.go Update deps 2019-12-16 20:04:38 +01:00
service_upstart_linux.go Update deps 2019-12-16 20:04:38 +01:00
service_windows.go Update deps for Go 1.11 2018-10-02 18:06:43 +02:00
version.go Update deps 2018-08-23 00:23:59 +02:00

README.md

service GoDoc

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.

BUGS

  • Dependencies field is not implemented for Linux systems and Launchd.
  • OS X when running as a UserService Interactive will not be accurate.