From 3e1db6e3f5351e0401341ac364f0cbee08ba55e7 Mon Sep 17 00:00:00 2001 From: Alexey Berezhok Date: Thu, 2 May 2024 23:49:50 +0300 Subject: [PATCH] Typo install --- install/hst-install-rhel.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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