3 ms·
I'm using socketmaster[1] to do the graceful update or just normal service reload. It is basically another process to facilitate socket exchange between 2 proce
by wejick 8y ago
I'm using socketmaster[1] to do the graceful update or just normal service reload. It is basically another process to facilitate socket exchange between 2 process. Just make sure that the service able to shutdown gracefully.
However this approach need the binary to be started from socketmaster (as child process). I'm not sure what is the real cons tho, except the fact that it alter SIGHUP behavior - which is fine in this case imo.
[1] https://github.com/zimbatm/socketmaster https://github.com/zimbatm/socketmaster
- wejick 8y agohttps://github.com/paytm/grace https://github.com/paytm/grace The graceful handle on the service side can use this package