From afdf45031f363ea9ed6fe7f295372b1bd8241965 Mon Sep 17 00:00:00 2001 From: Adam Warner Date: Wed, 2 Oct 2024 21:51:56 +0100 Subject: [PATCH] Missed a couple of references in the previous PR Signed-off-by: Adam Warner --- gravity.sh | 6 ------ manpages/pihole.8 | 4 +++- pihole | 1 - 3 files changed, 3 insertions(+), 8 deletions(-) diff --git a/gravity.sh b/gravity.sh index 3c89c1c0..6a4fb88e 100755 --- a/gravity.sh +++ b/gravity.sh @@ -777,12 +777,6 @@ gravity_Cleanup() { echo -e "${OVER} ${TICK} ${str}" - # # Only restart DNS service if offline - # if ! pgrep pihole-FTL &> /dev/null; then - # "${PIHOLE_COMMAND}" restartdns - # dnsWasOffline=true - # fi - # Print Pi-hole status if an error occurred if [[ -n "${error}" ]]; then "${PIHOLE_COMMAND}" status diff --git a/manpages/pihole.8 b/manpages/pihole.8 index 5964c691..825a1fd1 100644 --- a/manpages/pihole.8 +++ b/manpages/pihole.8 @@ -39,7 +39,9 @@ pihole -g\fR .br pihole status .br -pihole restartdns\fR [options] +pihole reloaddns\fR +.br +pihole reloadlists\fR .br \fBpihole\fR (\fBenable\fR|\fBdisable\fR [time]) .br diff --git a/pihole b/pihole index 93ebfa56..5657637b 100755 --- a/pihole +++ b/pihole @@ -293,7 +293,6 @@ Options: Try 'pihole logging --help' for more information." exit 1 fi - restartDNS echo -e "${OVER} ${TICK} ${str}" }