Minimal windows service stub

Programs designed to run from most *nix style operating systems can import this package to enable running programs as services without modifying them.

import _ "github.com/kardianos/minwinsvc"

If you need more control over the exit behavior, set

minwinsvc.SetOnExit(func() {
	// Do something.
	// Within 10 seconds call:
	os.Exit(0)
})
S
Description
Git with a cup of tea! Painless self-hosted all-in-one software development service, including Git hosting, code review, team collaboration, package registry and CI/CD
https://git.john71.fr Readme MIT
2.1 GiB
0 Stars 2 Watchers 0 Forks
Languages
Go 83.1%
Handlebars 7%
TypeScript 5.4%
CSS 1.8%
Vue 1.1%
Other 1.5%