creds: Only support single credential by default

This commit is contained in:
cvlc12 2024-11-08 00:27:07 +01:00
commit 467ddd0e93
2 changed files with 28 additions and 8 deletions

View file

@ -10,10 +10,12 @@ Documentation=https://torsion.org/borgmatic/
[Service]
Type=oneshot
# Load encrypted credentials.
LoadCredentialEncrypted=borgmatic:/etc/credstore.encrypted/borgmatic/
# Load single encrypted credential.
LoadCredentialEncrypted=borgmatic.pw
# Load multiple encrypted credentials.
# LoadCredentialEncrypted=borgmatic:/etc/credstore.encrypted/borgmatic/
# Security settings for systemd running as root, optional but recommended to improve security. You
# can disable individual settings if they cause problems for your use case. For more details, see
# the systemd manual: https://www.freedesktop.org/software/systemd/man/systemd.exec.html