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

Commit

Permalink
Merge pull request #766 from advancedtelematic/doc/systemd-config2
Browse files Browse the repository at this point in the history
Slight improvement in clarity.
  • Loading branch information
cajun-rat committed May 15, 2018
2 parents a7c8836 + f7de5dc commit 75a9897
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 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[].

Expand Down

0 comments on commit 75a9897

Please sign in to comment.