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