From 07ffe5d0bf1eb849f7c07d2d215658594af3568b Mon Sep 17 00:00:00 2001 From: Michael Stanclift Date: Sun, 24 May 2020 19:59:03 -0500 Subject: [PATCH] Update gravity-sync.sh --- gravity-sync.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/gravity-sync.sh b/gravity-sync.sh index 40b0c7c..bcf01fd 100755 --- a/gravity-sync.sh +++ b/gravity-sync.sh @@ -117,9 +117,13 @@ function pull_gs { wait 3 - MESSAGE="Reloading FTLDNS Configuration" + MESSAGE="Updating FTLDNS Configuration" echo -e "${STAT} ${MESSAGE}" pihole restartdns reloadlists + error_validate + + MESSAGE="Reloading FTLDNS Services" + echo -e "${STAT} ${MESSAGE}" pihole restartdns error_validate