From: Baptiste Assmann Date: Fri, 14 Aug 2015 14:20:52 +0000 (+0200) Subject: MINOR: init: server state loaded from file X-Git-Tag: v1.6-dev6~119 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=fecd2b53af43c4504a7d345a30d9f98954801167;p=thirdparty%2Fhaproxy.git MINOR: init: server state loaded from file With this patch, HAProxy reads the content of server state file and update state of servers accordingly. --- diff --git a/src/haproxy.c b/src/haproxy.c index 681109dc5b..465bb6a15a 100644 --- a/src/haproxy.c +++ b/src/haproxy.c @@ -800,6 +800,9 @@ void init(int argc, char **argv) exit(2); } + /* Apply server states */ + apply_server_state(); + global_listener_queue_task = task_new(); if (!global_listener_queue_task) { Alert("Out of memory when initializing global task\n");