From abff332ce0eb07b8aaf88e7a65e99425c60740ea Mon Sep 17 00:00:00 2001 From: Asif Bacchus Date: Fri, 19 Oct 2018 21:49:23 -0600 Subject: [PATCH] Added default values for mailcow config files and docker timeouts --- root/scripts/backup.sh | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/root/scripts/backup.sh b/root/scripts/backup.sh index e777a92..ccf34a5 100644 --- a/root/scripts/backup.sh +++ b/root/scripts/backup.sh @@ -190,10 +190,22 @@ scriptPath="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" scriptName="$( basename ${0} )" logFile="$scriptPath/${scriptName%.*}.log" +# Set default mailcow configuration filename +mailcowConfigFile=mailcow.conf + +# Set default docker-compose filename +dockerComposeFile=docker-config.yml + # set default 503 error page name and location in scriptPath err503Path="$scriptPath/503.html" err503File="${err503Path##*/}" +# Set default docker-compose stop timeout +dockerStopTimeout=120 + +# Set default docker-compose start timeout +dockerStartTimeout=180 + # set default borgDetails path to scriptPath borgDetails="$scriptPath/nc_borg.details"