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}" }