Add support for $GNUNET_BASE_CONFIG
authorFlorian Dold <florian.dold@gmail.com>
Sun, 28 Feb 2016 20:40:00 +0000 (20:40 +0000)
committerFlorian Dold <florian.dold@gmail.com>
Sun, 28 Feb 2016 20:40:00 +0000 (20:40 +0000)
commit862d43bb260b87ec5cd3072a8b486c90eaab3519
tree3539f2064eb1a1b0c21e20097f6b3f1c69e8394b
parent232cf1d42677f94f5d0df487490878bb7fc792c4
Add support for $GNUNET_BASE_CONFIG

The environment variable GNUNET_BASE_CONFIG allows
specifying the directory from which all base config
files will be loaded.  This is useful when ARM is
to be used to supervise things otherwise unrelated to
GNUnet.  Modifying GNUNET_PREFIX is not sufficient
for this use case, since e.g. libexec files need
to be under GNUNET_PREFIX, and GNUNET_BASE_CONFIG
provides a way to only modify the base config
directory independent of where GNUnet was installed.
src/util/configuration_loader.c
src/util/resolver_api.c