2079c5f0c9
writepid command usage to join a cgroup has been deprecated in favor of a more flexible approach using task_profiles. This way cgroup path is not hardcoded and cgroup changes can be easily made. Replace writepid with task_profiles command to migrate between cgroups. Bug: 191283136 Test: build and boot Signed-off-by: Suren Baghdasaryan <surenb@google.com> Change-Id: I945c634dfa7621437d8ea3981bce370d680b7371
16 lines
664 B
Text
16 lines
664 B
Text
service zygote /system/bin/app_process64 -Xzygote /system/bin --zygote --start-system-server
|
|
class main
|
|
priority -20
|
|
user root
|
|
group root readproc reserved_disk
|
|
socket zygote stream 660 root system
|
|
socket usap_pool_primary stream 660 root system
|
|
onrestart exec_background - system system -- /system/bin/vdc volume abort_fuse
|
|
onrestart write /sys/power/state on
|
|
onrestart restart audioserver
|
|
onrestart restart cameraserver
|
|
onrestart restart media
|
|
onrestart restart netd
|
|
onrestart restart wificond
|
|
task_profiles ProcessCapacityHigh
|
|
critical window=${zygote.critical_window.minute:-off} target=zygote-fatal
|