mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-15 00:54:41 +00:00
unbound: restart if already down for #2894
This commit is contained in:
parent
159400a714
commit
3d8fd0088a
@ -408,7 +408,7 @@ function unbound_configure_do($verbose = false, $interface = '')
|
||||
{
|
||||
global $config;
|
||||
|
||||
if (!unbound_interface($interface)) {
|
||||
if (!unbound_interface($interface) && isvalidpid('/var/run/unbound.pid')) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user