unbound: add file parameter to service instance

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>
This commit is contained in:
Jan Klos 2024-02-19 14:27:05 +01:00 committed by Tianling Shen
parent d06c08b0ec
commit f5195eb213
1 changed files with 1 additions and 0 deletions

View File

@ -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
}