From 31fc1cf9b0097cb36b2f52dbb0869cdb5c8b079e Mon Sep 17 00:00:00 2001 From: "Gregory L. Dietsche" Date: Wed, 20 Jan 2021 10:08:19 -0600 Subject: [PATCH] safe-search: restart dnsmasq instead of reload Some users have reported that reloading dnsmasq does not always work. It sometimes stop responding to DNS lookup requests after being reloaded. This patch changes "safe-search-maintenance" so that it restarts dnsmasq instead of reloading it. Signed-off-by: Gregory L. Dietsche --- net/safe-search/files/safe-search-maintenance | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/net/safe-search/files/safe-search-maintenance b/net/safe-search/files/safe-search-maintenance index 40eda26b4..39d19b1e3 100644 --- a/net/safe-search/files/safe-search-maintenance +++ b/net/safe-search/files/safe-search-maintenance @@ -483,6 +483,6 @@ EOL fi if [ "$RELOAD_DNSMASQ" = "1" ]; then - echo reloading dnsmasq to activate new IP addresses. - /etc/init.d/dnsmasq reload + echo restarting dnsmasq to activate new IP addresses. + /etc/init.d/dnsmasq restart fi