Skip to content

Commit

Permalink
Merge branch 'release/0.8.0'
Browse files Browse the repository at this point in the history
  • Loading branch information
takama committed Nov 26, 2016
2 parents 8b61c63 + f1d327b commit 5892600
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion daemon.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// license that can be found in the LICENSE file.

/*
Package daemon 0.7.0 for use with Go (golang) services.
Package daemon 0.8.0 for use with Go (golang) services.
Package daemon provides primitives for daemonization of golang services.
This package is not provide implementation of user daemon,
Expand Down Expand Up @@ -184,3 +184,8 @@ type Daemon interface {
func New(name, description string, dependencies ...string) (Daemon, error) {
return newDaemon(strings.Join(strings.Fields(name), "_"), description, dependencies)
}

// ExecPath tries to get executable path
func ExecPath() (string, error) {
return execPath()
}

0 comments on commit 5892600

Please sign in to comment.