Add ability to daemonize program, update sample config, README.md, add .gitignore
This commit is contained in:
12
vendor/github.com/sevlyar/go-daemon/os_executable_pre18.go
generated
vendored
Normal file
12
vendor/github.com/sevlyar/go-daemon/os_executable_pre18.go
generated
vendored
Normal file
@@ -0,0 +1,12 @@
|
||||
//go:build !go1.8
|
||||
// +build !go1.8
|
||||
|
||||
package daemon
|
||||
|
||||
import (
|
||||
"github.com/kardianos/osext"
|
||||
)
|
||||
|
||||
func osExecutable() (string, error) {
|
||||
return osext.Executable()
|
||||
}
|
||||
Reference in New Issue
Block a user