Skip to content
Snippets Groups Projects
Commit eb64c359 authored by Till Brehm's avatar Till Brehm
Browse files

Fixed: FS#2960 - Bind9 zone reload fails

parent 5edf400d
No related branches found
No related tags found
No related merge requests found
......@@ -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');
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment