summaryrefslogtreecommitdiff
path: root/keystore2/keystore2.rc
blob: d7d6951c28d378b7a4457e6d4ee6620b7deeeb1f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# 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
    # The default memlock limit of 65536 bytes is too low for keystore.
    rlimit memlock unlimited unlimited