On 22 May 2017 at 00:23, Gold Star <catchgolds...@gmail.com> wrote: > We can assume that the decider process sets an environment variable, say > HEALTHY, to true or false at any time it wants. We would like an haproxy > instance to return a healthy signal iff it is genuinely healthy and the > HEALTHY environment variable is set to true.
This can't possibly work, because the POSIX environment is only inherited by the process on start, and static afterwards. There's no way to update another process's environment. Cheers, Maciej