Load systemd encrypted credentials
This commit is contained in:
parent
424cc6b66c
commit
62222022c3
@ -9,6 +9,10 @@ ConditionACPower=true
|
||||
[Service]
|
||||
Type=oneshot
|
||||
|
||||
# Load encrypted credentials
|
||||
LoadCredentialEncrypted=borgpw
|
||||
Environment=BORG_PASSCOMMAND="cat %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
|
||||
# the systemd manual: https://www.freedesktop.org/software/systemd/man/systemd.exec.html
|
||||
|
Loading…
x
Reference in New Issue
Block a user