From 949c011321f024168f8083db872cfc4c94058c05 Mon Sep 17 00:00:00 2001 From: NIKTONIKTO717 <36561335+NIKTONIKTO717@users.noreply.github.com> Date: Wed, 9 Oct 2019 15:23:39 +0200 Subject: [PATCH] Update vst-install-rhel.sh I only tried to fix bug #1933 --- install/vst-install-rhel.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/install/vst-install-rhel.sh b/install/vst-install-rhel.sh index 4ea5154c8..941fd355e 100755 --- a/install/vst-install-rhel.sh +++ b/install/vst-install-rhel.sh @@ -338,7 +338,7 @@ fi # Database stack if [ "$mysql" = 'yes' ]; then - if [ $release -ge 7 ]; then + if [ $release -ge '7' ]; then echo ' - MariaDB Database Server' else echo ' - MySQL Database Server' @@ -875,7 +875,7 @@ if [ "$nginx" = 'yes' ]; then cp -f $vestacp/logrotate/nginx /etc/logrotate.d/ echo > /etc/nginx/conf.d/vesta.conf mkdir -p /var/log/nginx/domains - if [ "$release" -ge 7 ]; then + if [ "$release" -ge '7' ]; then mkdir -p /etc/systemd/system/nginx.service.d cd /etc/systemd/system/nginx.service.d echo "[Service]" > limits.conf @@ -920,7 +920,7 @@ if [ "$apache" = 'yes' ]; then chmod a+x /var/log/httpd mkdir -p /var/log/httpd/domains chmod 751 /var/log/httpd/domains - if [ "$release" -ge 7 ]; then + if [ "$release" -ge '7' ]; then mkdir -p /etc/systemd/system/httpd.service.d cd /etc/systemd/system/httpd.service.d echo "[Service]" > limits.conf