diff --git a/docs/configuration.adoc b/docs/configuration.adoc index 30d0413723..746d1d93a1 100644 --- a/docs/configuration.adoc +++ b/docs/configuration.adoc @@ -1,6 +1,6 @@ = Configuration -Aktualizr is configured via `.toml` config files. One or more files or directories can be passed to the application via the `--config` flag (one per file or directory). By default, if `--config` is not specified on the command line, aktualizr searches `/usr/lib/sota/conf.d` and `/etc/sota/conf.d/` for files ending in a `.toml` extension. Aktualizr processes these config files in systemd style, meaning that if multiple files are found with the same name, the last one found overrules and hides the others. Files are processed in alphabetical order, so if a config option is specified in multiple files, the last entry found overrules the others. +Aktualizr is configured via `.toml` config files. One or more files or directories can be passed to the application via the `--config` flag (one per file or directory). If `--config` is not specified on the command line, aktualizr searches `/usr/lib/sota/conf.d` and `/etc/sota/conf.d/` for files ending in a `.toml` extension. Aktualizr searches for and processes these config files in systemd style, meaning that if multiple files are found with the same name, the last one found overrules and hides the others. Files are then processed in alphabetical order, so if a config option is specified in multiple files, the last entry found overrules the others. If an option is left unspecified in a file processed after another file in which it was specified, it is not overruled. Example config files used by unit tests, continuous integration tests, and https://github.com/advancedtelematic/meta-updater[meta-updater] recipes can be found in link:../config/[], link:../tests/config/[], and link:https://github.com/advancedtelematic/meta-updater/tree/rocko/recipes-sota/config/files[].