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命令
|
# 定义map,保存参数和对应执行的shell命令
|
||||||
declare -A COMMAND_MAP=(
|
declare -A COMMAND_MAP=(
|
||||||
|
["datamgr"]="pkill -f distributeddata"
|
||||||
["dfs"]="pkill -f distributedfile"
|
["dfs"]="pkill -f distributedfile"
|
||||||
["dm"]="pkill -f device_manager"
|
["dm"]="pkill -f device_manager"
|
||||||
["softbus"]="pkill -f softbus_server"
|
["softbus"]="pkill -f softbus_server"
|
||||||
["deviceauth"]="pkill -f deviceauth_service"
|
["deviceauth"]="pkill -f deviceauth_service"
|
||||||
["huks"]="pkill -f huks_service"
|
["huks"]="pkill -f huks_service"
|
||||||
["samgr"]="pkill -f samgr"
|
["samgr"]="pkill -f samgr"
|
||||||
["datamgr"]="pkill -f distributeddata"\
|
|
||||||
)
|
)
|
||||||
|
|
||||||
# 日志打印函数
|
# 日志打印函数
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user