bigbiff | df53b6c | 2022-01-17 19:31:52 -0500 | [diff] [blame] | 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 | |
| 9 | on late-init |
| 10 | start keystore2 |
| 11 | |
| 12 | service 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 |