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:
d06c08b
)
unbound: add file parameter to service instance
author
Jan Klos
<jan@klos.xyz>
Mon, 19 Feb 2024 13:27:05 +0000
(14:27 +0100)
committer
Tianling Shen
<cnsztl@gmail.com>
Sun, 17 Mar 2024 01:11:51 +0000
(09:11 +0800)
that way, procd does not needlessly restart unbound on triggers when
everything remains the same - changes in non-default included
configuration files will not be registered, however
Signed-off-by: Jan Klos <jan@klos.xyz>
net/unbound/files/unbound.init
patch
|
blob
|
history
diff --git
a/net/unbound/files/unbound.init
b/net/unbound/files/unbound.init
index fb363e188058713f1868738ff759689915144361..8231e6931524b7812a0449988cedcfd79bbf38de 100755
(executable)
--- a/
net/unbound/files/unbound.init
+++ b/
net/unbound/files/unbound.init
@@
-40,6
+40,7
@@
start_service() {
procd_open_instance "unbound"
procd_set_param command $PROG -d -c $UB_TOTAL_CONF
procd_set_param respawn
+ procd_set_param file "$UB_TOTAL_CONF" "$UB_SRV_CONF" "$UB_EXT_CONF"
procd_close_instance
}