1# Init file for starting tlsdated on Android.
2
3on post-fs-data
4    mkdir /data/misc/tlsdated 0755 root system
5
6service tlsdated /system/bin/tlsdated -c /data/misc/tlsdated -G dbus,inet -- /system/bin/tlsdate -C /system/etc/security/cacerts -l
7    class late_start
8    # This daemon needs to start as root and drops privileges early on.
9    user root
10    group system
11