]> git.ipfire.org Git - ipfire-2.x.git/commitdiff
ids.cgi: Do reload instead of restarting unbound
authorStefan Schantl <stefan.schantl@ipfire.org>
Sat, 11 Jan 2020 18:37:50 +0000 (19:37 +0100)
committerStefan Schantl <stefan.schantl@ipfire.org>
Sat, 11 Jan 2020 18:37:50 +0000 (19:37 +0100)
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
html/cgi-bin/dns.cgi

index 69ab7bb7b8f0a40c5aa8b6758ef48cdc43d4cd18..ae7d4efa235123985e85590587ee6ef235bfa4ab 100755 (executable)
@@ -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()) {