From c7d6aae5e3d49bf72eab68b167dc3488a5a2ebc3 Mon Sep 17 00:00:00 2001 From: Mohit Aggarwal Date: Fri, 22 Mar 2019 14:07:22 +0530 Subject: sdm660-common: Change uid/gid of time_daemon Squashed of the following 2 commits: time-services: Remove time_daemon rc definition Now time_daemon service will start from local rc file so patch removes rc definition from init.qcom.rc file. Change-Id: Ia18ffa726c9c7ad6be5193219438b2266c15ae13 time-services: Start time_daemon service from common rc Currently, time_daemon service is running after statsd service which is causing some xTS failure. The patch moves time_daemon service definition to common rc file so that daemon can start early. Change-Id: I7ff7a7a3b7ac5077a95157c1785bfb844b92d7dd Change-Id: I4b46501099fb0e82109b3cabf8440fa0490d507b --- rootdir/etc/init.target.rc | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'rootdir/etc/init.target.rc') diff --git a/rootdir/etc/init.target.rc b/rootdir/etc/init.target.rc index 0a3d228..4f2ebed 100755 --- a/rootdir/etc/init.target.rc +++ b/rootdir/etc/init.target.rc @@ -184,10 +184,11 @@ service thermal-engine /system/vendor/bin/thermal-engine # class core # oneshot # -service time_daemon /system/vendor/bin/time_daemon - class late_start - user root - group root +service time_daemon /vendor/bin/time_daemon + class main + user system + group system + capabilities SYS_TIME service adsprpcd_root /vendor/bin/adsprpcd class main -- cgit v1.2.3