mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-27 03:07:43 +02:00
ids.cgi: Do reload instead of restarting unbound
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
This commit is contained in:
@@ -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()) {
|
||||
|
||||
Reference in New Issue
Block a user