• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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            ]
11        }, {
12            "name": "services:restartrender_service",
13            "cmds": [
14                "reset foundation",
15                "reset allocator_host",
16                "reset composer_host"
17            ]
18        }
19    ],
20    "services" : [{
21            "name" : "render_service",
22            "path" : ["/system/bin/render_service"],
23            "critical" : [0, 5, 60],
24            "importance" : -20,
25            "uid" : "graphics",
26            "gid" : ["system", "tp_host"],
27            "caps" : ["SYS_NICE"],
28            "permission" : [
29                "ohos.permission.REPORT_RESOURCE_SCHEDULE_EVENT"
30            ],
31            "secon" : "u:r:render_service:s0",
32            "jobs" : {
33                "on-restart" : "services:restartrender_service"
34            },
35            "once" : 0
36        }, {
37            "name" : "bootanimation",
38            "path" : ["/system/bin/bootanimation"],
39            "bootevents": [
40                "bootevent.bootanimation.started",
41                "bootevent.bootanimation.finished"
42            ],
43            "importance" : -20,
44            "once" : 1,
45            "uid" : "graphics",
46            "gid" : ["graphics"],
47            "secon" : "u:r:bootanimation:s0"
48        }
49    ]
50}
51