remove uselss BORG_CRED var
This commit is contained in:
parent
fdd33947e4
commit
125401e416
@ -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: |
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user