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 Eric Luehrsen
parent e65ce6218a
commit 6d2657fc89

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
}