Skip to content
This repository has been archived by the owner on May 21, 2024. It is now read-only.

Commit

Permalink
Slight improvement in clarity.
Browse files Browse the repository at this point in the history
  • Loading branch information
pattivacek committed May 14, 2018
1 parent 7a999f7 commit f7de5dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/configuration.adoc
Original file line number Diff line number Diff line change
@@ -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[].

Expand Down

0 comments on commit f7de5dc

Please sign in to comment.