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:
parent
f2837d7470
commit
31fc1cf9b0
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue