fix: move source env call so that all settings can be overridden

This commit is contained in:
Alex Kelly 2023-01-17 10:24:16 -05:00
parent d1e0e55895
commit d34b47e705

View file

@ -17,8 +17,6 @@ RETENTION_WEEKS=4
RETENTION_MONTHS=3 RETENTION_MONTHS=3
RETENTION_YEARS=1 RETENTION_YEARS=1
source /etc/restic/env
# Paths to binaries # Paths to binaries
CURL="/usr/bin/curl" CURL="/usr/bin/curl"
FIND="/usr/bin/find" FIND="/usr/bin/find"
@ -27,6 +25,8 @@ ECHO="/usr/bin/echo"
HOST=$(hostname -s) HOST=$(hostname -s)
source /etc/restic/env
# define functions # define functions
timestamp () { timestamp () {
date "+%Y-%m-%d %H:%M:%S" date "+%Y-%m-%d %H:%M:%S"