From d07e14b85942dd31a4a67c6c4c4a5777c27ca0fa Mon Sep 17 00:00:00 2001 From: acaranta Date: Thu, 22 Apr 2021 16:20:23 +0200 Subject: [PATCH] Corrected wrong rsync path --- inotifreload.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inotifreload.sh b/inotifreload.sh index afc2ebd..ef022bf 100755 --- a/inotifreload.sh +++ b/inotifreload.sh @@ -40,7 +40,7 @@ while true; do if [ $? -gt 0 ]; then echo "$(date) - Found changes in /hacfg/certs directory ..." #if it changed, then copy it and set for reload - rsync -ad /hacfg/certs /haproxy --delete + rsync -ad /hacfg/certs /etc/haproxy --delete RELOAD=1 fi fi