From cc53e7ef230255bbf2ebf6ed6af8206d88206e8e Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Mon, 12 Sep 2016 20:52:51 +0100 Subject: [PATCH] unbound: Restart after local hosts have been modified Signed-off-by: Michael Tremer --- html/cgi-bin/hosts.cgi | 1 + 1 file changed, 1 insertion(+) diff --git a/html/cgi-bin/hosts.cgi b/html/cgi-bin/hosts.cgi index e3463d1ac2..41fe8a5b63 100644 --- a/html/cgi-bin/hosts.cgi +++ b/html/cgi-bin/hosts.cgi @@ -462,4 +462,5 @@ sub SortDataFile # sub BuildConfiguration { system '/usr/local/bin/rebuildhosts'; + system '/usr/local/bin/unboundctrl restart &>/dev/null'; } -- 2.39.5