From 7f1c74786eecfd32e8e48ef971cd9b28d2cf4eda Mon Sep 17 00:00:00 2001 From: Asif Bacchus Date: Fri, 19 Oct 2018 22:31:15 -0600 Subject: [PATCH] Read mailcow configuration file --- root/scripts/backup.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/root/scripts/backup.sh b/root/scripts/backup.sh index d0fd6a3..c0ca309 100644 --- a/root/scripts/backup.sh +++ b/root/scripts/backup.sh @@ -373,6 +373,9 @@ echo -e "${info}${stamp} -- [INFO] using ${lit}${mailcowConfigFilePath}" \ echo -e "${info}${stamp} -- [INFO] using ${lit}${dockerComposeFilePath}" \ >> "$logFile" +### Import additional variables from mailcow configuration file +source "${mailcowConfigFilePath}" + ### Export logFile variable for use by Borg export logFile="$logFile"