3f4d774b8b
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: Ia136fd51d7fd39a0e1988ae3ae1aeb80ab5f3cc5
13 lines
505 B
Text
13 lines
505 B
Text
# Start the keystore2 service.
|
|
# Keystore 2.0 changes its working directory to the first positional
|
|
# command line option, i.e., /data/misc/keystore, where it stores its
|
|
# database.
|
|
# Keystore shall run as user keystore and groups keystore, readproc, and log.
|
|
#
|
|
# See system/core/init/README.md for information on the init.rc language.
|
|
|
|
service keystore2 /system/bin/keystore2 /data/misc/keystore
|
|
class early_hal
|
|
user keystore
|
|
group keystore readproc log
|
|
task_profiles ProcessCapacityHigh
|