aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2020-10-23 08:47:12 -0300
committerEuAndreh <eu@euandre.org>2020-10-23 08:49:46 -0300
commite495c274f9be64a69104b3a9da7dc65a379e88d1 (patch)
tree7f4100bacbded35002dedd65736ae851b147f427 /scripts
parentRun nixfmt (diff)
downloadserver-e495c274f9be64a69104b3a9da7dc65a379e88d1.tar.gz
server-e495c274f9be64a69104b3a9da7dc65a379e88d1.tar.xz
Fix tests
Diffstat (limited to 'scripts')
-rw-r--r--scripts/cronjobs/borg.sh3
1 files changed, 1 insertions, 2 deletions
diff --git a/scripts/cronjobs/borg.sh b/scripts/cronjobs/borg.sh
index c0c69e5..bd6325f 100644
--- a/scripts/cronjobs/borg.sh
+++ b/scripts/cronjobs/borg.sh
@@ -1,13 +1,12 @@
#!/usr/bin/env bash
set -Eeuo pipefail
-# FIXME: get SSH environment from /data/secrets/ ?
+# shellcheck disable=SC1090
. "${HOME}/.ssh/environment" > /dev/null
BORG_PASSPHRASE="$(cat /data/secrets/borg-passphrase.txt)"
export BORG_PASSPHRASE
R='16686@ch-s010.rsync.net'
-borg init FIXME
borg create \
--verbose \
--stats \