platform_system_core/metricsd/init.metrics_daemon.rc
Steve Fung 3f62060b8d metricsd: Give directory group permissions
Since crash_reporter gets run as root, in order to use metrics_lib
it has to use group permissions to interact with metrics files.

Bug: 23406290
Change-Id: Ie9556233105312f973c0a3e018fc0305a466148d
2015-08-21 02:02:19 -07:00

8 lines
219 B
Text

on boot
mkdir /data/misc/metrics 0770 system system
service metrics_daemon /system/bin/metrics_daemon --uploader -nodaemon
class late_start
user system
group system dbus inet
seclabel u:r:brillo:s0