Commit eb64c359 authored by Till Brehm's avatar Till Brehm

Fixed: FS#2960 - Bind9 zone reload fails

parent 5edf400d
......@@ -156,8 +156,12 @@ class bind_plugin {
if(is_file($filename.'.err')) unlink($filename.'.err');
}
//* Reload bind nameserver
$app->services->restartServiceDelayed('bind', 'reload');
//* Restart bind nameserver if update_acl is not empty, otherwise reload it
if($data['new']['update_acl'] != '') {
$app->services->restartServiceDelayed('bind', 'restart');
} else {
$app->services->restartServiceDelayed('bind', 'reload');
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment