endless
endless copied to clipboard
Zero downtime restarts for go servers (Drop in replacement for http.ListenAndServe)
This repo hasn't been updated since 2016. Is it officially abandoned? If so, can you mark it as archive, or put out a call for maintainers as a new issue...
PS C:\Users\xxx\Workspace\xxx-xxx> go env set GO111MODULE= set GOARCH=amd64 set GOBIN= set GOCACHE=C:\Users\xxx\AppData\Local\go-build set GOENV=C:\Users\xxx\AppData\Roaming\go\env set GOEXE=.exe set GOEXPERIMENT= set GOFLAGS= set GOHOSTARCH=amd64 set GOHOSTOS=windows set GOINSECURE= set GOMODCACHE=C:\Users\xxx\go\pkg\mod set GONOPROXY=*.corp.example.com...
fix the problem of func ListenAndServeTLS have not call func BeforeBegin.
I add endless to my project. and i build it in windows env. then it show this: 
I tried to get the app to send a SIGHUP signal to reload itself and got a "text file busy" error 2021/11/17 17:14:30 8597 Received SIGHUP. forking. 2021/11/17 17:14:30 Restart:...
go get -u github.com/fvbock/endless # github.com/fvbock/endless ..\github.com\fvbock\endless\endless.go:99: undefined: syscall.SIGUSR1 ..\github.com\fvbock\endless\endless.go:100: undefined: syscall.SIGUSR2 ..\github.com\fvbock\endless\endless.go:103: undefined: syscall.SIGTSTP ..\github.com\fvbock\endless\endless.go:107: undefined: syscall.SIGUSR1 ..\github.com\fvbock\endless\endless.go:108: undefined: syscall.SIGUSR2 ..\github.com\fvbock\endless\endless.go:111: undefined: syscall.SIGTSTP ..\github.com\fvbock\endless\endless.go:193: undefined: syscall.Kill ..\github.com\fvbock\endless\endless.go:243: undefined: syscall.Kill...
 kill -SIGINT pid
2020/11/24 15:28:49 net.FileListener error: file file+net : getsockopt: socket operation on non-socket
add context feature