Closed llimllib closed 6 years ago
@llimllib did you find a resolution to this? Would love to know!!
@cathykc I didn't, unfortunately!
Ah sad :( let me know if you landed on another auto restart solution for go apps
This is the only thing I was wanting to do
Using a prep statement to build then running the executable worked for me.
dir/**/*.html {
prep: go build
daemon +sigterm: ./app
}
This has been fixed in master. Processes are now spawned with a process group, and signals are sent to the entire process group. The root of the issue here was that go run
was not passing signals to child processes.
Please re-open if you're still seeing problems on master. Version 0.7 should be out soon.
Great, thanks!
With this modd.conf:
modd works perfectly.
With this one:
modd tried to kill the process but fails on mac os x. It hangs at:
I'm guessing that this has something to do with the parent process being go, rather than the daemon itself? Or something like that?
Soapboxd is a very basic grpc server, and I'm on go 1.8