]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: config: new backend directives: load-server-state-from-file and server-state...
authorBaptiste Assmann <bedis9@gmail.com>
Wed, 19 Aug 2015 14:44:03 +0000 (16:44 +0200)
committerWilly Tarreau <w@1wt.eu>
Sat, 19 Sep 2015 15:05:28 +0000 (17:05 +0200)
commite11cfcd2c9dd545de731e15feaa25f964d869504
tree1802c0cf93f2eba21f6c5767a0ade6135268d3b0
parentef1f0fc033c453f6652190527ab0a0f228b16335
MINOR: config: new backend directives: load-server-state-from-file and server-state-file-name

This directive gives HAProxy the ability to use the either the global
server-state-file directive or a local one using server-state-file-name to
load server states.
The state can be saved right before the reload by the init script, using
the "show servers state" command on the stats socket redirecting output into
a file.
include/proto/server.h
include/types/proxy.h
src/cfgparse.c
src/server.c