This commit is contained in:
2024-04-04 20:11:31 +02:00
parent 571ee1e6ee
commit 33e9a313ee
45 changed files with 6069 additions and 495 deletions

View File

@ -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=""