xref: /aosp_15_r20/system/security/keystore2/keystore2.rc (revision e1997b9af69e3155ead6e072d106a0077849ffba)
1# Start the keystore2 service.
2# Keystore 2.0 changes its working directory to the first positional
3# command line option, i.e., /data/misc/keystore, where it stores its
4# database.
5# Keystore shall run as user keystore and groups keystore, readproc, and log.
6#
7# See system/core/init/README.md for information on the init.rc language.
8
9service keystore2 /system/bin/keystore2 /data/misc/keystore
10    class early_hal
11    user keystore
12    group keystore readproc log
13    task_profiles ProcessCapacityHigh
14    # The default memlock limit of 65536 bytes is too low for keystore.
15    rlimit memlock unlimited unlimited
16