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

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):