graphic_graphic_2d/graphic.cfg
linghao-ji e7dc5218e9 权限整改
Signed-off-by: linghao-ji <jilinghao@huawei.com>
Change-Id: I39854f56a76411ab2be0f707b077857d3e1073d1
2023-05-15 09:20:32 +08:00

44 lines
1.3 KiB
INI

{
"jobs" : [{
"name" : "init",
"cmds" : [
"chmod 666 /dev/mali0",
"chown system graphics /dev/mali0",
"mkdir /data/service/el0/render_service 0711 system system"
]
}, {
"name": "services:restartrender_service",
"cmds": [
"reset foundation",
"reset bootanimation",
"reset gralloc_host",
"reset hwc_host"
]
}
],
"services" : [{
"name" : "render_service",
"path" : ["/system/bin/render_service"],
"critical" : [1, 5, 60],
"importance" : -20,
"uid" : "graphics",
"gid" : ["system"],
"caps" : ["SYS_NICE"],
"secon" : "u:r:render_service:s0",
"jobs" : {
"on-restart" : "services:restartrender_service"
},
"once" : 0
}, {
"name" : "bootanimation",
"path" : ["/system/bin/bootanimation"],
"bootevents": "bootevent.bootanimation.started",
"importance" : -20,
"once" : 1,
"uid" : "graphics",
"gid" : ["graphics", "system", "shell", "uhid", "root"],
"secon" : "u:r:bootanimation:s0"
}
]
}