From 7d8d8afe243b0c409530da03db2e48c950556cd2 Mon Sep 17 00:00:00 2001 From: "Ramón M. Gómez" Date: Wed, 11 Mar 2020 18:10:25 +0100 Subject: #964: Fix bug when copying MySQL / MariaDB template configuration file. --- installer/opengnsys_installer.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/installer/opengnsys_installer.sh b/installer/opengnsys_installer.sh index 55dd6101..be7656bd 100755 --- a/installer/opengnsys_installer.sh +++ b/installer/opengnsys_installer.sh @@ -255,6 +255,7 @@ case "$OSDISTRIB" in INETDSERV=xinetd INETDCFGDIR=/etc/xinetd.d MYSQLSERV=mysqld + MYSQLCFGDIR=/etc/my.cnf.d MARIADBSERV=mariadb PHPFPMSERV=php-fpm RSYNCSERV=rsync @@ -1745,7 +1746,7 @@ INSTVERSION=$(jq -r '.version' $INSTALL_TARGET/doc/VERSION.json) isInArray notinstalled "mysql-server" || isInArray notinstalled "mariadb-server" if [ $? -eq 0 ]; then # Copiar plantilla de configuración de MySQL. - cp $WORKDIR/opengnsys/server/etc/mysqld-og.conf $MYSQLCFGDIR 2>/dev/null + cp $WORKDIR/opengnsys/server/etc/mysqld-og.cnf $MYSQLCFGDIR 2>/dev/null # Habilitar gestor de base de datos (MySQL, si falla, MariaDB). service=$MYSQLSERV $ENABLESERVICE -- cgit v1.2.3-18-g5258