Typo correction

There was a typo in the script, rendering a TCP connection to MySQL or Postgres impossible.
pull/122/head
dryware-fr 7 years ago committed by GitHub
parent 75bcf3091b
commit e4bfae260b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -37,7 +37,7 @@ if [[ "$1" == apache2* ]] || [ "$1" == php-fpm ]; then
echo >&2 'Error: POSTFIXADMIN_DB_USER and POSTFIXADMIN_DB_PASSWORD must be specified. ' echo >&2 'Error: POSTFIXADMIN_DB_USER and POSTFIXADMIN_DB_PASSWORD must be specified. '
exit 1 exit 1
fi fi
timeout 15 bash -c "until echo > /dev/tcp/${POSTFIXADMIN_HOST}/${POSTFIXADMIN_DB_PORT}; do sleep 0.5; done" timeout 15 bash -c "until echo > /dev/tcp/${POSTFIXADMIN_DB_HOST}/${POSTFIXADMIN_DB_PORT}; do sleep 0.5; done"
fi fi
if [ "$POSTFIXADMIN_DB_TYPE" = 'sqlite' ]; then if [ "$POSTFIXADMIN_DB_TYPE" = 'sqlite' ]; then

Loading…
Cancel
Save