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 bab933d4ca ("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 <git@bitsofnetworks.org>
This commit is contained in:
Baptiste Jonglez 2019-08-26 18:39:37 +02:00
parent 66c20292c6
commit e0b319cb9f

View file

@ -197,10 +197,6 @@ start_service() {
procd_close_instance procd_close_instance
} }
stop_service() {
killall -9 babeld
}
service_triggers() { service_triggers() {
procd_add_reload_trigger babeld procd_add_reload_trigger babeld
} }