From: William Lallemand Date: Fri, 8 Nov 2024 10:57:11 +0000 (+0100) Subject: DOC: management: explain the change of behavior of the program section X-Git-Tag: v3.1-dev12~3 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=75b302d123506c3da949d64936a9450ad8666230;p=thirdparty%2Fhaproxy.git DOC: management: explain the change of behavior of the program section The program section does not work exactly the same way with the master-worker rework of HAProxy 3.1. Let's explain it in the program documentation. --- diff --git a/doc/configuration.txt b/doc/configuration.txt index 21fc7e0cd6..4310c6b0bf 100644 --- a/doc/configuration.txt +++ b/doc/configuration.txt @@ -4769,6 +4769,12 @@ In master-worker mode, it is possible to launch external binaries with the master, these processes are called programs. These programs are launched and managed the same way as the workers. +Since version 3.1, the program section has a slightly different behavior, the +section is parsed and the program is started from the master, but the rest of +the configuration is loaded in the worker. This mean the program configuration +is completely separated from the worker configuration, and a program could be +reexecuted even if the worker configuration is wrong upon a reload. + During a reload of HAProxy, those processes are dealing with the same sequence as a worker: