1{
2    "jobs" : [{
3            "name" : "init",
4            "cmds" : [
5                "chmod 666 /dev/mali0",
6                "chown system graphics /dev/mali0",
7                "mkdir /data/service/el0/render_service 0711 graphics graphics",
8                "mkdir /data/system 0771 system system",
9                "mkdir /data/system/RTShaderCache 0770 system system",
10                "mkdir /data/local 0751 root root",
11                "mkdir /data/local/shader_cache 0711 root root",
12                "mkdir /data/local/shader_cache/local 0711 root root",
13                "mkdir /data/local/shader_cache/local/system 0771 system system"
14            ]
15        }, {
16            "name": "services:restartrender_service",
17            "cmds": [
18                "reset foundation",
19                "reset allocator_host",
20                "reset composer_host"
21            ]
22        }
23    ],
24    "services" : [{
25            "name" : "render_service",
26            "path" : ["/system/bin/render_service"],
27            "critical" : [1, 5, 60],
28            "importance" : -20,
29            "uid" : "graphics",
30            "gid" : ["system", "tp_host", "data_reserve"],
31            "writepid" : ["/dev/memcg/perf_sensitive/cgroup.procs"],
32            "caps" : ["SYS_NICE"],
33            "bootevents": [
34                "bootevent.renderservice.ready"
35            ],
36            "permission" : [
37                "ohos.permission.REPORT_RESOURCE_SCHEDULE_EVENT",
38                "ohos.permission.MANAGE_SETTINGS"
39            ],
40            "secon" : "u:r:render_service:s0",
41            "jobs" : {
42                "on-restart" : "services:restartrender_service"
43            },
44            "once" : 0
45        }, {
46            "name" : "bootanimation",
47            "path" : ["/system/bin/bootanimation"],
48            "bootevents": [
49                "bootevent.bootanimation.started",
50                "bootevent.bootanimation.finished"
51            ],
52            "importance" : -20,
53            "once" : 1,
54            "uid" : "graphics",
55            "gid" : ["graphics", "data_reserve"],
56            "secon" : "u:r:bootanimation:s0"
57        }
58    ]
59}
60