Skip to content

Commit

Permalink
add global config dir to docu
Browse files Browse the repository at this point in the history
  • Loading branch information
aawsome committed Sep 7, 2023
1 parent cfdde3a commit 0a4c873
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
8 changes: 4 additions & 4 deletions config/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
3 changes: 2 additions & 1 deletion config/full.toml
Original file line number Diff line number Diff line change
@@ -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.
Expand Down

0 comments on commit 0a4c873

Please sign in to comment.