Add default path for user configuration

This commit is contained in:
Florian Lindner 2018-06-10 15:03:23 +02:00
parent f1a143de5b
commit 9bd77292ff
1 changed files with 2 additions and 1 deletions

View File

@ -1,7 +1,8 @@
import os
DEFAULT_CONFIG_PATHS = ['/etc/borgmatic/config.yaml', '/etc/borgmatic.d']
DEFAULT_CONFIG_PATHS = ['/etc/borgmatic/config.yaml', '/etc/borgmatic.d',
os.path.expanduser('~/.config/borgmatic/config.yaml')]
def collect_config_filenames(config_paths):