# vendor/oxmc/vesperprofiled/vesperprofiled.rc # ───────────────────────────────────────────────────────────────────────── # Android init language script — starts vesperprofiled at boot. # Placed in /system/etc/init/ by the build system via init_rc in Android.bp. # ───────────────────────────────────────────────────────────────────────── service vesperprofiled /system/bin/vesperprofiled class main user system group system # Capabilities needed to write to /data/system/vesperos/ and to # call privileged Binder services (DevicePolicyManager, KeyChain, etc.) capabilities SETUID SETGID # Restart automatically if the daemon crashes. restart_period 5 # SELinux domain (matches the type defined in vesperprofiled.te) seclabel u:r:vesperprofiled:s0 # Only start once the filesystem is decrypted and /data is available. on_property:vold.decrypt=trigger_restart_framework # Create the data directory on first boot. on post-fs-data mkdir /data/system/vesperos 0700 system system mkdir /data/system/vesperos/profiles 0700 system system