exec_borg.sh: fix known_hosts error message by passing the default known_hosts
This commit is contained in:
parent
b32d3b8aa6
commit
60e65af409
1 changed files with 1 additions and 0 deletions
|
@ -27,6 +27,7 @@ exec systemd-run --quiet --collect --unit=temp-borg-init-sandbox.service \
|
||||||
-p "CacheDirectoryMode=550" \
|
-p "CacheDirectoryMode=550" \
|
||||||
-p "PrivateTmp=yes" \
|
-p "PrivateTmp=yes" \
|
||||||
-p "ReadOnlyDirectories=/" \
|
-p "ReadOnlyDirectories=/" \
|
||||||
|
-p "ReadWritePaths=/root/.ssh/known_hosts" \
|
||||||
-p "EnvironmentFile=/etc/borg/$NAME/config.env" \
|
-p "EnvironmentFile=/etc/borg/$NAME/config.env" \
|
||||||
--setenv=BORG_PASSPHRASE_FD=0 \
|
--setenv=BORG_PASSPHRASE_FD=0 \
|
||||||
--setenv=BORG_BASE_DIR=/tmp/ \
|
--setenv=BORG_BASE_DIR=/tmp/ \
|
||||||
|
|
Loading…
Reference in a new issue