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    writepid /dev/cpuset/foreground/tasks
14