install_postfixadmin.sh: change default value for db host if database type is MySQL. Replace variable 'POSTFIX_DB_HOST'/'POSTFIX_DB_SOCKET' with 'POSTFIX_DB_HOST_MYSQL' / 'POSTFIX_DB_HOST_PGSQL'.

This commit is contained in:
2018-09-26 17:44:07 +02:00
parent 24a06802f6
commit fabc15356a
2 changed files with 41 additions and 38 deletions

View File

@ -218,19 +218,28 @@ D-10999 Berlin | E-MAIL: oo@oopen.de
# -
POSTFIX_DB_TYPE="pgsql"
# - Host of Postfix Database
# - Host/Socket of Postfix Database (MySQL)
# -
# - Defaults to 'localhost'
# - Example:
# - POSTFIX_DB_HOST_MYSQL="127.0.0.1"
# - POSTFIX_DB_HOST_MYSQL="unix:/tmp/mysql.sock"
# -
#POSTFIX_DB_HOST=""
# - Note:
# - Dont't use 'localhost' if your MySQL socket is NOT
# - located at '/var/run/mysqld/mysqld.sock'
# -
# - Defaults to 'unix:/tmp/mysql.sock'
# -
#POSTFIX_DB_HOST_MYSQL=""
# - Unix socket where PostgreSQL is listening
# - Host/Socket of Postfix Database (PostgeSQL)
# -
# - Only possible, for postgreSQL
# - Example:
# - POSTFIX_DB_HOST_PGSQL='/var/run/postgresql'
# -
# - Defaults to '/var/run/postgresql'
# -
#POSTFIX_DB_SOCKET=""
#POSTFIX_DB_HOST_PGSQL=""
# - Name of Postfix Database
# -