1
0
mirror of https://github.com/DNSCrypt/dnscrypt-proxy.git synced 2024-12-29 00:30:30 +01:00
dnscrypt-proxy/vendor/github.com/kardianos/service
2018-03-07 20:21:58 +01:00
..
.gitignore Support installation as a service 2018-01-17 11:28:43 +01:00
.travis.yml Update deps 2018-03-07 18:29:26 +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
LICENSE Support installation as a service 2018-01-17 11:28:43 +01:00
linux-test-su.sh Support installation as a service 2018-01-17 11:28:43 +01:00
name_test.go Support installation as a service 2018-01-17 11:28:43 +01:00
pre_go1.8.go 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
service_darwin.go Support installation as a service 2018-01-17 11:28:43 +01:00
service_go1.8.go Support installation as a service 2018-01-17 11:28:43 +01:00
service_linux.go Support installation as a service 2018-01-17 11:28:43 +01:00
service_nosu_test.go Support installation as a service 2018-01-17 11:28:43 +01:00
service_su_test.go Update deps 2018-03-07 18:29:26 +01:00
service_systemd_linux.go Support installation as a service 2018-01-17 11:28:43 +01:00
service_sysv_linux.go Support installation as a service 2018-01-17 11:28:43 +01:00
service_test.go Support installation as a service 2018-01-17 11:28:43 +01:00
service_unix.go Support installation as a service 2018-01-17 11:28:43 +01:00
service_upstart_linux.go bring back exec and strings 2018-03-07 20:21:58 +01:00
service_windows_test.go Support installation as a service 2018-01-17 11:28:43 +01:00
service_windows.go Support installation as a service 2018-01-17 11:28:43 +01:00
service.go Support installation as a service 2018-01-17 11:28:43 +01:00
servicetest_unix_test.go Support installation as a service 2018-01-17 11:28:43 +01:00
servicetest_windows_test.go Support installation as a service 2018-01-17 11:28:43 +01:00

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.