MINOR: export localpeer as an environment variable
authorWilliam Lallemand <wlallemand@haproxy.com>
Tue, 17 Apr 2018 14:46:13 +0000 (16:46 +0200)
committerWilly Tarreau <w@1wt.eu>
Tue, 17 Apr 2018 15:17:58 +0000 (17:17 +0200)
commitdaf4cd209a945831d0b0b8546f348f08e581a222
tree95587b8ff010193a4e601b7d26175a49fdefb961
parent9631a28275b7c04f441f7d1c3706a765586844e7
MINOR: export localpeer as an environment variable

Export localpeer as the environment variable $HAPROXY_LOCALPEER,
allowing to use this variable in the configuration file.

It's useful to use this variable in the case of synchronized
configuration between peers.
doc/configuration.txt
doc/management.txt
src/haproxy.c