summaryrefslogtreecommitdiff
path: root/rootdir
diff options
context:
space:
mode:
authorMohit Aggarwal <maggarwa@codeaurora.org>2019-06-27 21:41:08 +0530
committerEthan Chen <intervigil@gmail.com>2020-07-21 20:01:31 -0700
commit718f57b9196452efd2347f8327b29eb86727ba0d (patch)
tree607e1ad4dd0a98d2885c77cbf82d5cf121ec43e0 /rootdir
parent2c2416b253744b5cf3e64d668876e85b7a293e86 (diff)
pro1: 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
Diffstat (limited to 'rootdir')
-rw-r--r--rootdir/etc/init.qcom.rc6
1 files changed, 6 insertions, 0 deletions
diff --git a/rootdir/etc/init.qcom.rc b/rootdir/etc/init.qcom.rc
index 33de335..410c492 100644
--- a/rootdir/etc/init.qcom.rc
+++ b/rootdir/etc/init.qcom.rc
@@ -675,6 +675,12 @@ service vendor.thermal-engine /vendor/bin/thermal-engine
group root
writepid /dev/cpuset/system-background/tasks
+service vendor.time_daemon /vendor/bin/time_daemon
+ class main
+ user system
+ group system
+ capabilities SYS_TIME
+
service wpa_supplicant /vendor/bin/hw/wpa_supplicant \
-O/data/vendor/wifi/wpa/sockets -puse_p2p_group_interface=1 -dd \
-g@android:vendor_wpa_wlan0