Fix malformed config if no passphrase set (#148)

master
AJ Jordan 2 months ago committed by GitHub
parent 702299f861
commit 84b0030581
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      templates/config.yaml.j2

@ -66,8 +66,10 @@ location:
# https://borgbackup.readthedocs.io/en/stable/usage/general.html#environment-variables for
# details.
storage:
{% if borg_encryption_passphrase %}
encryption_passphrase: {{ borg_encryption_passphrase }}
{% endif %}
# The standard output of this command is used to unlock the encryption key. Only
# use on repositories that were initialized with passcommand/repokey encryption.
# Note that if both encryption_passcommand and encryption_passphrase are set,

Loading…
Cancel
Save