From ebfb650f017fc04855b5d8697c1d017dd27f3167 Mon Sep 17 00:00:00 2001 From: Baptiste Jonglez Date: Mon, 9 Jan 2017 17:07:40 +0100 Subject: [PATCH 1/1] babeld: add dynamic config files to the procd watch list This way, "/etc/init.d/babeld reload" will detect when one of these dynamic config files has changed, and restart babeld only if that is the case. Dynamic config files where introduced by 82d9002689 ("babeld: add support for dynamic config files"). Signed-off-by: Baptiste Jonglez --- babeld/files/babeld.init | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/babeld/files/babeld.init b/babeld/files/babeld.init index dea207a..276e67f 100755 --- a/babeld/files/babeld.init +++ b/babeld/files/babeld.init @@ -240,7 +240,7 @@ start_service() { procd_set_param command /usr/sbin/babeld -I "" -c "$OTHERCONFIGFILE" -c "$CONFIGFILE" procd_set_param stdout 1 procd_set_param stderr 1 - procd_set_param file "$OTHERCONFIGFILE" "$CONFIGFILE" + procd_set_param file "$OTHERCONFIGFILE" "$OTHERCONFIGDIR"/*.conf "$CONFIGFILE" procd_set_param respawn procd_close_instance } -- 2.30.2