install_postfixadmin.sh: adjust 'DEFAULT_POSTFIX_DB_HOST_MYSQL'.
This commit is contained in:
parent
077b54753b
commit
0bfa8bc87e
@ -221,7 +221,11 @@ DEFAULT_APACHE_SERVER_KEY="server.key"
|
||||
DEFAULT_DEBIAN_APACHE_VHOST_DIR="/etc/apache2/sites-available"
|
||||
DEFAULT_APACHE_VHOST_DIR="/usr/local/apache2/conf/vhosts"
|
||||
DEFAULT_POSTFIX_DB_HOST_PGSQL="/run/postgresql"
|
||||
DEFAULT_POSTFIX_DB_HOST_MYSQL="unix:/tmp/mysql.sock"
|
||||
if [[ -S "/tmp/mysql.sock" ]] ; then
|
||||
DEFAULT_POSTFIX_DB_HOST_MYSQL="unix:/tmp/mysql.sock"
|
||||
else
|
||||
DEFAULT_POSTFIX_DB_HOST_MYSQL="unix:/run/mysqld/mysqld.sock"
|
||||
fi
|
||||
DEFAULT_POSTFIX_DB_NAME="postfix"
|
||||
DEFAULT_POSTFIX_DB_USER="postfix"
|
||||
if [[ -f "/usr/local/mysql/sys-maint.cnf" ]] ; then
|
||||
|
Loading…
Reference in New Issue
Block a user