diff options
author | Baptiste Jonglez <git@bitsofnetworks.org> | 2019-08-26 19:39:37 +0300 |
---|---|---|
committer | Baptiste Jonglez <git@bitsofnetworks.org> | 2019-08-26 19:40:35 +0300 |
commit | 6a92b45fac111880c3f2cb2240da40cb529ecdce (patch) | |
tree | 04d3d40f5c97640ee4db239063e7a169ebcbad40 /babeld | |
parent | 8a47b231b048398d59a055a001ec199d2181d584 (diff) |
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 <git@bitsofnetworks.org>
Diffstat (limited to 'babeld')
-rwxr-xr-x | babeld/files/babeld.init | 4 |
1 files changed, 0 insertions, 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 } |