From d443d8157318246718a4d95a01abcdfd25c7fe24 Mon Sep 17 00:00:00 2001 From: akihiro_k2k Date: Tue, 6 Nov 2018 15:50:36 +0900 Subject: [PATCH] BugFix : Using haproxy-wi.cfg --- install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install.sh b/install.sh index 68202c48..ff4333d7 100644 --- a/install.sh +++ b/install.sh @@ -365,11 +365,11 @@ if [[ $DB == 2 ]];then echo "" echo "" echo "################################" - sed -i '0,/enable = 0/s//enable = 1/' /var/www/$HOME_HAPROXY_WI/app/haproxy-webintarface.config + sed -i '0,/enable = 0/s//enable = 1/' /var/www/$HOME_HAPROXY_WI/app/haproxy-wi.cfg fi if [[ -n $IP ]];then - sed -i "0,/mysql_host = 127.0.0.1/s//mysql_host = $IP/" /var/www/$HOME_HAPROXY_WI/app/haproxy-webintarface.config + sed -i "0,/mysql_host = 127.0.0.1/s//mysql_host = $IP/" /var/www/$HOME_HAPROXY_WI/app/haproxy-wi.cfg fi echo "################################" echo ""