diff options
author | Gilad Arnold <garnold@google.com> | 2015-08-28 08:19:47 -0700 |
---|---|---|
committer | Gilad Arnold <garnold@google.com> | 2015-08-28 08:39:28 -0700 |
commit | 6198a2fae5cc4f2ccd3ee29160605cab75d7418c (patch) | |
tree | 87f0b067b1c10124df1cd3de2e73244e9e365f0b /init/tlsdated.rc | |
parent | 793a81172b131dda5b85e009496344e24cfeab9f (diff) | |
download | tlsdate-6198a2fae5cc4f2ccd3ee29160605cab75d7418c.tar.gz |
Rename init.tlsdated.rc and tie it to the correct build target.
1) With the new Android initrc installation schema, all init files are
simply named <daemon_name>.rc. No reason to be different.
2) Actually tie it to tlsdated (and not tlsdated_unittest).
Bug: 22373707
Change-Id: Icb0bc5794da81b81683982f5cae3056c2859877c
Diffstat (limited to 'init/tlsdated.rc')
-rw-r--r-- | init/tlsdated.rc | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/init/tlsdated.rc b/init/tlsdated.rc new file mode 100644 index 0000000..b91b329 --- /dev/null +++ b/init/tlsdated.rc @@ -0,0 +1,7 @@ +# Init file for starting tlsdated on Android. +service tlsdated /system/bin/tlsdated -v -l -s -- /system/bin/tlsdate -v -C /system/etc/security/cacerts -l + class main + # TODO(b/23601841) Use a lesser uid once CAP_SYS_TIME is enabled. + user root + group system dbus inet + seclabel u:r:brillo:s0 |