update..
This commit is contained in:
@ -223,11 +223,17 @@ POSTFIX_DB_TYPE="mysql"
|
||||
# -
|
||||
# - Note:
|
||||
# - Dont't use 'localhost' if your MySQL socket is NOT
|
||||
# - located at '/var/run/mysqld/mysqld.sock'
|
||||
# - located at '/run/mysqld/mysqld.sock'
|
||||
# -
|
||||
# - Defaults to 'unix:/tmp/mysql.sock'
|
||||
# - Defaults to:
|
||||
# - 'unix:/tmp/mysql.sock'if this socket exists at intsall time
|
||||
# - 'unix:/run/mysqld/mysqld.sock' othwerwise
|
||||
# -
|
||||
{% if (postfix_db_host is defined) and postfix_db_host and "MySQL" == postfix_db_type %}
|
||||
POSTFIX_DB_HOST_MYSQL="{{ postfix_db_host }}"
|
||||
{% else %}
|
||||
#POSTFIX_DB_HOST_MYSQL=""
|
||||
{% endif %}
|
||||
|
||||
# - Host/Socket of Postfix Database (PostgeSQL)
|
||||
# -
|
||||
@ -236,7 +242,7 @@ POSTFIX_DB_TYPE="mysql"
|
||||
# -
|
||||
# - Defaults to '/run/postgresql'
|
||||
# -
|
||||
{% if (postfix_db_host is defined) and postfix_db_host %}
|
||||
{% if (postfix_db_host is defined) and postfix_db_host and "PostgreSQL" == postfix_db_type %}
|
||||
POSTFIX_DB_HOST_PGSQL="{{ postfix_db_host }}"
|
||||
{% else %}
|
||||
#POSTFIX_DB_HOST_PGSQL=""
|
||||
|
Reference in New Issue
Block a user