source and use mailcow.conf

This commit is contained in:
Asif Bacchus 2020-05-06 22:30:19 -06:00
parent 35ce452dec
commit dccf5e17d0
1 changed files with 6 additions and 0 deletions

View File

@ -358,6 +358,12 @@ if [ ! -f "$mcDockerCompose" ]; then
fi
### read mailcow.conf and set vars as needed
. "$mcConfig"
export PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
export COMPOSE_HTTP_TIMEOUT="$dockerStartTimeout"
### start logging
printf "%s[%s] --- Start %s execution ---%s\n" \
"$magenta" "$(stamp)" "$scriptName" "$norm" >> "$logFile"