From 760e38e7b5d5412e34fa638ff758bcce71db1f2e Mon Sep 17 00:00:00 2001 From: Francesco Pham <francesco.pham@huawei.com> Date: Tue, 28 Mar 2023 13:41:20 +0200 Subject: [PATCH] dsofbus.service: start service after network-online.target dsoftbus service depends on network-online.target because it needs eth0 network adapter ready. Dsoftbus is crashing for a segfault when starting before networking is ready. Signed-off-by: Francesco Pham <francesco.pham@huawei.com> --- recipes-openharmony/openharmony/files/dsoftbus.service | 2 ++ 1 file changed, 2 insertions(+) diff --git a/recipes-openharmony/openharmony/files/dsoftbus.service b/recipes-openharmony/openharmony/files/dsoftbus.service index 0c8351a0..c76408aa 100644 --- a/recipes-openharmony/openharmony/files/dsoftbus.service +++ b/recipes-openharmony/openharmony/files/dsoftbus.service @@ -11,6 +11,8 @@ Wants=foundation.service Wants=huks.service # Requires SA: 4701 Wants=deviceauth.service +After=network-online.target +Wants=network-online.target [Service] Type=notify -- GitLab