ability_dmsfwk/etc/init/distributedsched.cfg
dengxiaoyu bed83154cc privacy mode disable switch
Signed-off-by: dengxiaoyu <dengxiaoyu6@huawei.com>
2024-09-05 15:37:04 +08:00

48 lines
2.0 KiB
INI

{
"jobs":[{
"name" : "service:distributedsched",
"cmds" : [
"mkdir /data/service/el1/public/database 0711 ddms ddms",
"mkdir /data/service/el1/public/database/DistributedSchedule 02770 dms ddms"
]
}
],
"services" : [{
"name" : "distributedsched",
"path" : ["/system/bin/sa_main", "/system/profile/distributedsched.json"],
"uid" : "dms",
"gid" : ["dms", "shell", "access_token"],
"ondemand" : true,
"permission" : [
"ohos.permission.ABILITY_BACKGROUND_COMMUNICATION",
"ohos.permission.ACCESS_SERVICE_DM",
"ohos.permission.ACCESS_SERVICE_DP",
"ohos.permission.DISTRIBUTED_DATASYNC",
"ohos.permission.INPUT_MONITORING",
"ohos.permission.GET_BUNDLE_INFO_PRIVILEGED",
"ohos.permission.GET_WIFI_INFO",
"ohos.permission.MANAGE_LOCAL_ACCOUNTS",
"ohos.permission.MANAGE_MISSIONS",
"ohos.permission.MANAGE_SECURE_SETTINGS",
"ohos.permission.MANAGE_WIFI_CONNECTION",
"ohos.permission.MONITOR_DEVICE_NETWORK_STATE",
"ohos.permission.PUBLISH_SYSTEM_COMMON_EVENT",
"ohos.permission.REPORT_RESOURCE_SCHEDULE_EVENT",
"ohos.permission.RUNNING_STATE_OBSERVER",
"ohos.permission.START_INVISIBLE_ABILITY"
],
"permission_acls" : [
"ohos.permission.INPUT_MONITORING",
"ohos.permission.MANAGE_MISSIONS",
"ohos.permission.MANAGE_WIFI_CONNECTION",
"ohos.permission.MONITOR_DEVICE_NETWORK_STATE",
"ohos.permission.START_INVISIBLE_ABILITY"
],
"jobs" : {
"on-start" : "service:distributedsched"
},
"secon" : "u:r:distributedsche:s0"
}
]
}