summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xinstaller/opengnsys_installer.sh3
1 files changed, 2 insertions, 1 deletions
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