projects
/
feed
/
packages.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
760e0fe
)
stubby: restart on trigger interfaces
author
Aleksandr V. Piskunov
<aleksandr.v.piskunov@gmail.com>
Mon, 23 May 2022 17:06:37 +0000
(20:06 +0300)
committer
Rosen Penev
<rosenp@gmail.com>
Thu, 26 May 2022 00:35:38 +0000
(17:35 -0700)
Force restart stubby if any of the trigger interfaces goes up or down.
Avoids DoT DNS lookup timeouts when default route changes, in case of multiple
upstream interfaces.
Signed-off-by: Aleksandr V. Piskunov <aleksandr.v.piskunov@gmail.com>
net/stubby/files/stubby.init
patch
|
blob
|
history
diff --git
a/net/stubby/files/stubby.init
b/net/stubby/files/stubby.init
index 5d0574aedb6bffc88dff1ded3023876fb8d2774c..57429050020284f5caffa6d5005cd4351dbec0e6 100755
(executable)
--- a/
net/stubby/files/stubby.init
+++ b/
net/stubby/files/stubby.init
@@
-270,7
+270,7
@@
service_triggers()
for trigger_item in $trigger
do
- procd_add_interface_trigger "interface.*
.up" "$trigger_item" "$stubby_init"
start
+ procd_add_interface_trigger "interface.*
" "$trigger_item" "$stubby_init" re
start
done
procd_add_reload_trigger "stubby"