Adjust script to new vault2env version
Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
2cfc1b8b54
commit
4f6dc7b5e8
1 changed files with 1 additions and 1 deletions
|
@ -4,5 +4,5 @@ ARGS="$@"
|
||||||
[ -z "${ARGS}" ] && ARGS="backup"
|
[ -z "${ARGS}" ] && ARGS="backup"
|
||||||
HOSTNAME=$(hostname -s)
|
HOSTNAME=$(hostname -s)
|
||||||
|
|
||||||
exec vault2env /secret/private/duplicity/${HOSTNAME} -- \
|
exec vault2env --key=/secret/private/duplicity/${HOSTNAME} -- \
|
||||||
duplicity-backup -f ${HOME}/.duplicity/${HOSTNAME}.yaml ${ARGS}
|
duplicity-backup -f ${HOME}/.duplicity/${HOSTNAME}.yaml ${ARGS}
|
||||||
|
|
Loading…
Reference in a new issue