Set default err503File variable to 503.html in scriptPath
This commit is contained in:
parent
bea22ce4c9
commit
fee66eb2cd
@ -133,6 +133,10 @@ function cleanup {
|
||||
scriptPath="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||
scriptName="$( basename ${0} )"
|
||||
logFile="$scriptPath/${scriptName%.*}.log"
|
||||
|
||||
# set default 503 error page name and location in scriptPath
|
||||
err503File="$scriptPath/503.html"
|
||||
|
||||
# set borg parameters to 'normal' verbosity
|
||||
borgCreateParams='--stats'
|
||||
borgPruneParams='--list'
|
||||
@ -141,7 +145,6 @@ borgPruneParams='--list'
|
||||
### Set script parameters to null and initialize array variables
|
||||
unset PARAMS
|
||||
unset sqlDumpDir
|
||||
unset err503File
|
||||
unset webroot
|
||||
unset ncRoot
|
||||
errorExplain=()
|
||||
|
Loading…
Reference in New Issue
Block a user