add agent path

Signed-off-by: woohoa <wanghuan36@huawei.com>
This commit is contained in:
15950533375 2024-07-11 19:26:58 +08:00
parent 5974bb28bc
commit d26f679cdd

View File

@ -1,4 +1,13 @@
{
"jobs" : [{
"name" : "services:app_domain_verify_agent_service",
"cmds" : [
"mkdir /data/service/el1/public/app_domain_verify_agent_service 0770 app_domain_verify system",
"chown app_domain_verify system /data/service/el1/public/app_domain_verify_agent_service",
"chmod 0770 /data/service/el1/public/app_domain_verify_agent_service"
]
}
],
"services" : [{
"name" : "app_domain_verify_agent",
"path" : ["/system/bin/sa_main", "/system/profile/app_domain_verify_agent.json"],
@ -6,6 +15,7 @@
"gid" : ["app_domain_verify", "system", "shell", "netsys_socket"],
"caps" : [],
"ondemand" : true,
"on-start" : "services:app_domain_verify_agent_service"
"permission" : [
"ohos.permission.INTERNET",
"ohos.permission.GET_BUNDLE_INFO"