Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kardianos/service
Run go programs as a service on major platforms.
https://github.com/kardianos/service
Last synced: 14 days ago
JSON representation
Run go programs as a service on major platforms.
- Host: GitHub
- URL: https://github.com/kardianos/service
- Owner: kardianos
- License: zlib
- Created: 2015-01-06T00:12:22.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2024-08-02T02:45:36.000Z (3 months ago)
- Last Synced: 2024-10-14T10:44:34.814Z (28 days ago)
- Language: Go
- Size: 3.58 MB
- Stars: 4,429
- Watchers: 106
- Forks: 677
- Open Issues: 163
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# service [![GoDoc](https://godoc.org/github.com/kardianos/service?status.svg)](https://godoc.org/github.com/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.