https://github.com/percona/kardianos-service
Custom version of "kardianos/service" for PMM 1.x
https://github.com/percona/kardianos-service
pmm
Last synced: 6 months ago
JSON representation
Custom version of "kardianos/service" for PMM 1.x
- Host: GitHub
- URL: https://github.com/percona/kardianos-service
- Owner: percona
- License: zlib
- Fork: true (kardianos/service)
- Created: 2016-06-23T16:26:23.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2019-03-15T21:29:10.000Z (over 7 years ago)
- Last Synced: 2024-06-21T18:06:12.999Z (about 2 years ago)
- Topics: pmm
- Language: Go
- Homepage:
- Size: 3.59 MB
- Stars: 2
- Watchers: 13
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# service [](https://godoc.org/github.com/percona/kardianos-service)[](https://cla-assistant.percona.com/percona/kardianos-service)
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.