From 4075b150bfc9a8bce978cd9be3763b8a83b5826d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=99=AB=E5=84=BF=E9=A3=9E?= Date: Tue, 26 Mar 2024 07:57:59 +0000 Subject: [PATCH] update the order of stopping services MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Services should be stopped in the reverse order in which they were created Signed-off-by: 虫儿飞 --- stop_services.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stop_services.sh b/stop_services.sh index 86c0a16..10f186d 100755 --- a/stop_services.sh +++ b/stop_services.sh @@ -7,13 +7,13 @@ # 定义map,保存参数和对应执行的shell命令 declare -A COMMAND_MAP=( + ["datamgr"]="pkill -f distributeddata" ["dfs"]="pkill -f distributedfile" ["dm"]="pkill -f device_manager" ["softbus"]="pkill -f softbus_server" ["deviceauth"]="pkill -f deviceauth_service" ["huks"]="pkill -f huks_service" ["samgr"]="pkill -f samgr" - ["datamgr"]="pkill -f distributeddata"\ ) # 日志打印函数