Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Register
Sign in
Toggle navigation
Menu
Open sidebar
Zvonimir
ISPConfig 3
Commits
eb64c359
Commit
eb64c359
authored
Feb 15, 2014
by
Till Brehm
Browse files
Fixed: FS#2960 - Bind9 zone reload fails
parent
5edf400d
Changes
1
Hide whitespace changes
Inline
Side-by-side
server/plugins-available/bind_plugin.inc.php
View file @
eb64c359
...
...
@@ -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'
);
}
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment