blob: fa6266245813e93ed3800e03b2de9d168e5f6523 [file] [log] [blame]
bigbiffdf53b6c2022-01-17 19:31:52 -05001# 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
9on late-init
10 start keystore2
11
12service keystore2 /system/bin/keystore2 /tmp/misc/keystore
13 class early_hal
14 user root
15 group keystore readproc log
16 writepid /dev/cpuset/foreground/tasks
17 seclabel u:r:recovery:s0