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 <gregory.dietsche@cuw.edu>
This commit is contained in:
Gregory L. Dietsche 2021-01-20 10:08:19 -06:00 committed by Paul Spooren
parent f2837d7470
commit 31fc1cf9b0

View file

@ -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