mirror of
https://gitee.com/openharmony/graphic_graphic_2d
synced 2024-11-30 02:31:42 +00:00
428b4599a0
Signed-off-by: xuedong <xuedong@huawei.com>
60 lines
2.1 KiB
INI
60 lines
2.1 KiB
INI
{
|
|
"jobs" : [{
|
|
"name" : "init",
|
|
"cmds" : [
|
|
"chmod 666 /dev/mali0",
|
|
"chown system graphics /dev/mali0",
|
|
"mkdir /data/service/el0/render_service 0711 graphics graphics",
|
|
"mkdir /data/system 0771 system system",
|
|
"mkdir /data/system/RTShaderCache 0770 system system",
|
|
"mkdir /data/local 0751 root root",
|
|
"mkdir /data/local/shader_cache 0711 root root",
|
|
"mkdir /data/local/shader_cache/local 0711 root root",
|
|
"mkdir /data/local/shader_cache/local/system 0771 system system"
|
|
]
|
|
}, {
|
|
"name": "services:restartrender_service",
|
|
"cmds": [
|
|
"reset foundation",
|
|
"reset allocator_host",
|
|
"reset composer_host"
|
|
]
|
|
}
|
|
],
|
|
"services" : [{
|
|
"name" : "render_service",
|
|
"path" : ["/system/bin/render_service"],
|
|
"critical" : [1, 5, 60],
|
|
"importance" : -20,
|
|
"uid" : "graphics",
|
|
"gid" : ["system", "tp_host", "data_reserve"],
|
|
"writepid" : ["/dev/memcg/perf_sensitive/cgroup.procs"],
|
|
"caps" : ["SYS_NICE"],
|
|
"bootevents": [
|
|
"bootevent.renderservice.ready"
|
|
],
|
|
"permission" : [
|
|
"ohos.permission.REPORT_RESOURCE_SCHEDULE_EVENT",
|
|
"ohos.permission.MANAGE_SETTINGS"
|
|
],
|
|
"secon" : "u:r:render_service:s0",
|
|
"jobs" : {
|
|
"on-restart" : "services:restartrender_service"
|
|
},
|
|
"once" : 0
|
|
}, {
|
|
"name" : "bootanimation",
|
|
"path" : ["/system/bin/bootanimation"],
|
|
"bootevents": [
|
|
"bootevent.bootanimation.started",
|
|
"bootevent.bootanimation.finished"
|
|
],
|
|
"importance" : -20,
|
|
"once" : 1,
|
|
"uid" : "graphics",
|
|
"gid" : ["graphics", "data_reserve"],
|
|
"secon" : "u:r:bootanimation:s0"
|
|
}
|
|
]
|
|
}
|