remove uselss BORG_CRED var

This commit is contained in:
cvlc12 2024-09-24 05:13:58 +00:00
parent fdd33947e4
commit 125401e416
3 changed files with 2 additions and 3 deletions

View File

@ -235,7 +235,7 @@ properties:
example: "secret-tool lookup borg-repository repo-name"
description: |
Uncomment to use an encrypted systemd service credential (/etc/credstore.encrypted/borgpw).
example: "cat ${BORG_CRED}"
example: "cat ${CREDENTIALS_DIRECTORY}/borgpw"
encryption_passphrase:
type: string
description: |

View File

@ -42,7 +42,7 @@ Save your password as an encrypted credential to `/etc/credstore.encrypted/borgp
Then uncomment or use the following in your configuration file:
```yaml
encryption_passcommand: "cat ${BORG_CRED}"
encryption_passcommand: "cat ${CREDENTIALS_DIRECTORY}/borgpw"
```
### Environment variable interpolation

View File

@ -11,7 +11,6 @@ Type=oneshot
# Load encrypted credentials
LoadCredentialEncrypted=borgpw
Environment=BORG_CRED="%d/borgpw"
# 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