From 0b96aa80b8fb4790893b21374856b7090200b50d Mon Sep 17 00:00:00 2001 From: Niko Ehrenfeuchter <nikolaus.ehrenfeuchter@unibas.ch> Date: Mon, 5 Mar 2018 14:19:26 +0100 Subject: [PATCH] Explain service configuration files. --- README.md | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 10aeb9d..bce8d7e 100644 --- a/README.md +++ b/README.md @@ -132,7 +132,25 @@ the [manual installation](INSTALLATION-MANUAL.md) instructions. ### Configuration -**TODO** +The AutoTx service configuration is done through two XML files. They are +structured in a very simple way and well-commented to make them easily +readable. The first file `config.common.xml` defines settings which are common +to all AutoTx installations in the same network. The second file contains the +host-specific settings for the service and is using the machine's hostname for +its file name (followed by the `.xml` suffix). Both files are located in the +`conf/` folder inside the service installation directory and share the exact +same syntax with the host-specific file having priority (i.e. all settings +defined in the common file can be overridden in the host-specific one). + +Having the configuration in this *layered* way allows an administrator to have +the exact same `conf/` folder on all hosts where AutoTx is installed, thus +greatly simplifying automated management. + +Example config files (fully commented) are provided with the source code: + +- [A minimal set](Resources/conf-minimal/) of configuration settings required + to run the service. +- [The full set](Resources/conf/) of all possible configuration settings. ### Logging -- GitLab