mirror of
https://gitee.com/openharmony/ability_dmsfwk
synced 2024-11-27 00:20:44 +00:00
bed83154cc
Signed-off-by: dengxiaoyu <dengxiaoyu6@huawei.com>
48 lines
2.0 KiB
INI
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"
|
|
}
|
|
]
|
|
}
|