Set default err503File variable to 503.html in scriptPath

This commit is contained in:
Asif Bacchus 2018-10-01 23:23:06 -06:00
parent bea22ce4c9
commit fee66eb2cd

View File

@ -133,6 +133,10 @@ function cleanup {
scriptPath="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" scriptPath="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
scriptName="$( basename ${0} )" scriptName="$( basename ${0} )"
logFile="$scriptPath/${scriptName%.*}.log" logFile="$scriptPath/${scriptName%.*}.log"
# set default 503 error page name and location in scriptPath
err503File="$scriptPath/503.html"
# set borg parameters to 'normal' verbosity # set borg parameters to 'normal' verbosity
borgCreateParams='--stats' borgCreateParams='--stats'
borgPruneParams='--list' borgPruneParams='--list'
@ -141,7 +145,6 @@ borgPruneParams='--list'
### Set script parameters to null and initialize array variables ### Set script parameters to null and initialize array variables
unset PARAMS unset PARAMS
unset sqlDumpDir unset sqlDumpDir
unset err503File
unset webroot unset webroot
unset ncRoot unset ncRoot
errorExplain=() errorExplain=()