Reload configuration dynamically when files change.
authorJennifer Richards <jennifer@painless-security.com>
Sat, 21 May 2016 19:39:34 +0000 (15:39 -0400)
committerJennifer Richards <jennifer@painless-security.com>
Sat, 21 May 2016 19:42:00 +0000 (15:42 -0400)
commit94137364a9ed274f55047a4c38511cb26b32e2ed
tree1366f1d47ca65f395f532586ecc6e1d5ae17d666
parent4ad7b3786ca62a58bc0ecd7240606d6989c0d0c3
Reload configuration dynamically when files change.

Detect a change to the configuration files and reload when this occurs.
Any change, deletion, or addition of configuration files in the
config directory will result in reloading the configuration. If a
valid configuration results, switch to this, otherwise continue using
the old configuration. Allows a few seconds for changes to settle
before attempting to reload the configuration.
common/tr_config.c
tr/tr_main.c