• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1{
2    "jobs":[{
3    "name" : "service:deviceprofile",
4    "cmds" : [
5        "mkdir /data/service/el1/public/database 0711 ddms ddms",
6        "mkdir /data/service/el1/public/database/distributed_device_profile_service 02770 dms ddms"
7    ]
8    }
9    ],
10    "services" : [{
11            "name" : "deviceprofile",
12            "path" : ["/system/bin/sa_main", "/system/profile/deviceprofile.json"],
13            "uid" : "dms",
14            "gid" : ["dms", "shell"],
15            "ondemand" : true,
16            "permission" : ["ohos.permission.DISTRIBUTED_DATASYNC", "ohos.permission.ACCESS_SERVICE_DM"],
17            "jobs" : {
18                "on-start" : "service:deviceprofile"
19            },
20            "secon" : "u:r:distributedsche:s0"
21        }
22    ]
23}
24