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:
@ -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
|
||||
# -
|
||||
|
Reference in New Issue
Block a user