From 7a7727df7d76688472e82b41c82541c6a55ed351 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Sun, 3 Mar 2019 10:13:01 -0600 Subject: [PATCH] Update test.sh --- test.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test.sh b/test.sh index 6dcdc7d..499dd39 100755 --- a/test.sh +++ b/test.sh @@ -21,5 +21,5 @@ fi nip=10.5.10.666 -rm -f /etc/haproxy.cfg -#sed -e "s;%NIP%;${nip};g" ${FOLDER}/templates/haproxy.config > /etc/haproxy.cfg +rm -f /etc/haproxy/haproxy.cfg +sed -e "s;%NIP%;${nip};g" ${FOLDER}/templates/haproxy.config > /etc/haproxy/haproxy.cfg