monitor: Install JSON config files from repo
Install the JSON config files for the machine name provided in the
environment variable "MACHINE" into the application's data directory.
When no "MACHINE" name is given, the entire contents of the
`config_files` directory is installed and when a given "MACHINE" named
directory does not exist, the installation is intended to fail. This
failure of installation is to ensure that the fan application's
necessary JSON config files will exist so the fan application does not
fail to start.
Change-Id: Ife710869646ba227bd5cb429aeb5074dfd9bfb59
Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
2 files changed