tabacco service fails if backup_repository_uri is not configured
The tabacco-agent does not start because of:
Jul 19 13:45:10 floatapp1 tabacco[7365]: configuration error: missing uri
that is because the configuration in /etc/tabacco/agent.yml
has no uri configured:
root@leapgwv6:~# cat /etc/tabacco/agent.yml
hostname: "gateway2"
default_nice_level: 9
default_io_class: 3
work_dir: /var/lib/tabacco
random_seed_file: /var/lib/tabacco/.seed
queue_config:
concurrency: 2
metadb:
url: "https://backup-metadata.infra.bitmask.net:5332"
tls:
cert: "/etc/credentials/x509/backup-agent/client/cert.pem"
key: "/etc/credentials/x509/backup-agent/client/private_key.pem"
ca: "/etc/credentials/x509/backup-agent/ca.pem"
request_max_timeout: "20s"
repository:
name: default
type: restic
params:
uri: ""
password: ""
cache_dir: /var/cache/tabacco
root@leapgwv6:~#