update the order of stopping services
Services should be stopped in the reverse order in which they were created Signed-off-by: 虫儿飞 <wei_jiangang@hoperun.com>
This commit is contained in:
parent
c1ba66a885
commit
4075b150bf
@ -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"\
|
||||
)
|
||||
|
||||
# 日志打印函数
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user