ids.cgi: Do reload instead of restarting unbound

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
This commit is contained in:
Stefan Schantl
2020-01-11 19:37:50 +01:00
parent 0c1094770a
commit 4caa0efc59

View File

@@ -803,7 +803,7 @@ END
# Private function to handle the restart of unbound and more.
sub _handle_unbound_and_more () {
# Restart unbound
system('/usr/local/bin/unboundctrl restart >/dev/null');
system('/usr/local/bin/unboundctrl reload >/dev/null');
# Check if the IDS is running.
if(&IDS::ids_is_running()) {