commit | fecd2b53af43c4504a7d345a30d9f98954801167 | [log] [tgz] |
---|---|---|
author | Baptiste Assmann <bedis9@gmail.com> | Fri Aug 14 16:20:52 2015 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Sat Sep 19 17:05:28 2015 +0200 |
tree | 1c1f6c5946a3a35eb9884e7d01b02e4005775f77 | |
parent | 01c6cc36706ad939ae539c7491118712dc342c4e [diff] |
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 681109d..465bb6a 100644 --- a/src/haproxy.c +++ b/src/haproxy.c
@@ -800,6 +800,9 @@ 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");