On Mon, Jan 25, 2016 at 12:50:48AM +0100, Baptiste wrote: > That said, I may have found something in accurate. We'll discuss about > it tomorrow in the office.
OK. > > BTW, maybe we should provide this cmd line option, then it will be possible > > to state that a service reload maintain the states and that a service > > restart drops them. That would make sense I think. > > Well, from my point of view, it's the role of the init script to do this. > I mean, it's really convenient to start up HAProxy with states > recovered from a died process or an old container, etc... I agree, but then if the process died it's not a restart. That's why I think that we could possibly plan to have restart explicitly ignore the state file. When you do a restart, it's because something has gone wrong and you have no other way to fix it. It's equivalent to pressing the reset button on the machine. Willy

