From 0a4c873db83a126a97cf7e61286162c141ecf5f1 Mon Sep 17 00:00:00 2001 From: Alexander Weiss Date: Thu, 7 Sep 2023 15:28:38 +0200 Subject: [PATCH] add global config dir to docu --- config/README.md | 8 ++++---- config/full.toml | 3 ++- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/config/README.md b/config/README.md index c2262848e..8c73e3428 100644 --- a/config/README.md +++ b/config/README.md @@ -32,10 +32,10 @@ options. Therefore `commandline arguments` have the highest precedence. ## Profiles Configuration files can be placed in the user's local config directory, e.g. -`~/.config/rustic/`. You can use a different config files, e.g. `myconfig.toml` -and use the `-P` option to specify the profile name, e.g. -`rustic -P myconfig.toml`. Examples for different configuration files can be -found here in the [/config/](/config) directory. +`~/.config/rustic/` or in the global config dir, e.g. `/etc/rustic/`. You can +use a different config files, e.g. `myconfig.toml` and use the `-P` option to +specify the profile name, e.g. `rustic -P myconfig`. Examples for different +configuration files can be found here in the [/config/](/config) directory. ## Sections and Attributes diff --git a/config/full.toml b/config/full.toml index a89443b18..bd787ace5 100644 --- a/config/full.toml +++ b/config/full.toml @@ -1,6 +1,7 @@ # Full rustic config file containing all options which are available through the config file. # -# This file should be placed in the user's local config dir (~/.config/rustic/) +# This file should be placed in the user's local config dir (~/.config/rustic/) or in the global +# config dir (/etc/rustic). # If you save it under NAME.toml, use "rustic -P NAME" to access this profile. # # Note that most options can be overwritten by the corresponding command line option.