go-daemon icon indicating copy to clipboard operation
go-daemon copied to clipboard

A library for writing system daemons in golang.

Results 30 go-daemon issues
Sort by recently updated
recently updated
newest added

These are some clean up, so I just send in one PR. And I add a go.mod file.

@sevlyar here is a patch for NaCL and [go playground](https://play.golang.org/). This patch had been built ok with: ```bash GOARCH=amd64p32 GOOS=nacl go build examples/cmd/gd-simple/simple.go for GOOS in windows linux darwin solaris;...

The processes executed with this library got killed by kernel when there is CPU contention. Is there any way to prevent this?

question

pid and log always create at ./

when child process create by the program via exec.Command() ,and restart the program without wait the child process ends, the program always report error 'daemon: Resource temporarily unavailable'. Is any...

Right now PID is passed as filename string, and this limits what can be done with PID. I think it would be good idea to give an option to pass...

Right now there is not way to get additional FDs to be passed from parent to daemon. My goal is to open TCP socket, then get FD (using [TCPListener.File()](https://golang.org/pkg/net/#TCPListener.File)), then...

and vice versa. Possibly by just using a pipe?

feature

When spawning the child process, the `cmd` that's reported to the system (accessible via `ps` and `top` etc.) truncates the process name. For example: A child process that's `command --flag...

When passing `Args: []string{}` to the child process, having only a single string in the array produces an incorrect result (i.e. the command doesn't run). Having more than one string...