diff options
author | Ramón M. Gómez <ramongomez@us.es> | 2020-03-11 18:10:25 +0100 |
---|---|---|
committer | Ramón M. Gómez <ramongomez@us.es> | 2020-03-11 18:10:25 +0100 |
commit | 7d8d8afe243b0c409530da03db2e48c950556cd2 (patch) | |
tree | db9e6a054ebc7cac76995da31fde7683ce143b8a /installer | |
parent | b302b5462f17a1891b7580822887e20a8f15062c (diff) |
#964: Fix bug when copying MySQL / MariaDB template configuration file.
Diffstat (limited to 'installer')
-rwxr-xr-x | installer/opengnsys_installer.sh | 3 |
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 |