26 lines
958 B
Plaintext
26 lines
958 B
Plaintext
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.
|
|
|
|
Need to test the Interactive test for the following platforms:
|
|
* SysV
|
|
* systemd system and user service
|
|
* Launchd system and user service
|
|
|
|
The following items need to be done:
|
|
* Determine if systemd has a launchd equivalent user service.
|
|
* Fix Interactive test for user services.
|
|
* Document that windows doesn't have a user service.
|
|
* Document that upstart's user service definition changes over versions. Do not support.
|
|
* For Linux platforms and Launchd add:
|
|
- UserName
|
|
- Arguments
|
|
- WorkingDirectory
|
|
- ChRoot
|
|
* Determine the best way to document the Config.Option values per platform.
|
|
- Should some of the current parameters like "ChRoot" and "WorkingDirectory" move to "Option" map?
|
|
|