[PATCH] unicorn_forever: new executable to respawn masters
normalperson at yhbt.net
Sat Aug 3 08:31:27 UTC 2013
Jeremy Lecour <jeremy.lecour at gmail.com> wrote:
> > This may be useful for daemontools and similar init replacements
> > which behave badly when the master process is replaced during the
> > normal SIGUSR2 && SIGQUIT routine.
> Does Monit fall into this category of tools?
> Each time I restart a master process I have an alert (change of pid)
> which is fine but not necessary.
I don't think so (but I'm not familiar with monit, either). Getting an
alert is one thing, but the problem is the manager attempting to restart
(and fail) because it thinks unicorn is dead (because it "escaped").
More information about the mongrel-unicorn