Skip to content
 
 

Repository files navigation

go-daemon Build Status GoDoc

Library for writing system daemons in golang.

Installation

go get github.com/sevlyar/go-daemon

Idea

func main() {
	Pre()

	context := new(Context)
	child, _ := context.Reborn()

	if child != nil {
		PostParent()
	} else {
		defer context.Release()
		PostChild()
	}
}

History

14.01.12

  • released new major version, old version moved to github.com/sevlyar/go-daemon/oldapi

About

A library for writing system daemons in golang.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages