mirror of
https://github.com/kardianos/service.git
synced 2025-12-24 13:27:57 +08:00
b7b2695e943b31cacba2cfa1f70b4e55d617f046
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. To start out follow "example/main.go". This package is still in BETA. Detecting if this is running as a daemon or from a user is not tested on all platforms. It is tested on Windows and Linux Upstart system service. Need to test the following platforms: * Upstart, user service * systemd system and user service * Launchd system and user service Also the remainder of the configuration struct needs to be wired into the install step for most platforms. Platform capabilities and KeyValues need documentation.
Languages
Go
98.5%
Makefile
0.9%
Shell
0.3%
Dockerfile
0.3%