From 5d66d68cba5c37b91c46f7a500b4bf85b6e9df89 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Sat, 26 May 2018 11:03:40 -0300 Subject: Borg: fix BORG_KEY_FILE --- templates/borg.sh.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: -- cgit v1.2.3