aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--templates/borg.sh.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/borg.sh.erb b/templates/borg.sh.erb
index 6c5e3ab..652bfa0 100644
--- a/templates/borg.sh.erb
+++ b/templates/borg.sh.erb
@@ -20,7 +20,7 @@ if [ "<%= @encryption %>" == "keyfile" ] && [ ! -z "<%= @keyfile %>" ]; then
fatal "Keyfile not found: <%= @keyfile %>. Please create it manually."
fi
- export BORG_KEY_FILE="/root/.borg/hydra/key"
+ export BORG_KEY_FILE="<%= @keyfile %>"
fi
# some helpers and error handling: