diff --git a/install/hst-install-rhel.sh b/install/hst-install-rhel.sh index f5538a2..0f2e8ac 100755 --- a/install/hst-install-rhel.sh +++ b/install/hst-install-rhel.sh @@ -689,8 +689,6 @@ dnf install -y https://rpms.remirepo.net/enterprise/remi-release-$release.rpm if [ "$mysql" = 'yes' ]; then echo "[ * ] MariaDB" dnf config-manager --add-repo https://dev.putey.net/bayrepo/hestiacp/raw/branch/master/install/rpm/mysql/mariadb-$(arch).repo - mkdir /var/log/mysql/ - chown mysql:mysql /var/log/mysql/ fi # Enabling MySQL module @@ -1457,6 +1455,9 @@ if [ "$mysql" = 'yes' ] || [ "$mysql8" = 'yes' ]; then mysql_install_db >> $LOG fi + mkdir /var/log/mysql/ + chown mysql:mysql /var/log/mysql/ + # Remove symbolic link rm -f /etc/my.cnf # Configuring MariaDB