From 6a92b45fac111880c3f2cb2240da40cb529ecdce Mon Sep 17 00:00:00 2001 From: Baptiste Jonglez Date: Mon, 26 Aug 2019 18:39:37 +0200 Subject: [PATCH] babeld: Don't kill -9 on stop Killing anything with -9 is a bad idea. When killed this way, babeld won't be able to properly disassociate from its neighbours, withdraw its announced routes or remove routes from the kernel. This got introduced in bab933d4cad8 ("babeld: Update to version 1.8.3 + fix init") with an unrelated change. The purpose of the change is unclear because stopping and restarting babeld worked fine without this change. Signed-off-by: Baptiste Jonglez --- babeld/files/babeld.init | 4 ---- 1 file changed, 4 deletions(-) diff --git a/babeld/files/babeld.init b/babeld/files/babeld.init index 7b25ef4..378a8ab 100755 --- a/babeld/files/babeld.init +++ b/babeld/files/babeld.init @@ -197,10 +197,6 @@ start_service() { procd_close_instance } -stop_service() { - killall -9 babeld -} - service_triggers() { procd_add_reload_trigger babeld } -- 2.30.2