Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8dccf3ff authored by Jeffrey Huang's avatar Jeffrey Huang
Browse files

Update init.rc for statsd setup

Apexes do not support "on" macros, so we are moving
them into the system partition

Bug: 145923087
Test: m -j
Change-Id: Ic671a51f2ec5b91f2f631bae0f509b4aa2d057b4
Merged-In: Ic84e77269f80097b675d6a1b0d206c2bae7d918d
parent 59de77e7
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -727,6 +727,12 @@ on post-fs-data
    # Create root dir for Incremental Service
    mkdir /data/incremental 0771 system system encryption=Require

    # Create directories for statsd
    mkdir /data/misc/stats-data/ 0770 statsd system
    mkdir /data/misc/stats-service/ 0770 statsd system
    mkdir /data/misc/stats-active-metric/ 0770 statsd system
    mkdir /data/misc/train-info/ 0770 statsd system

    # Wait for apexd to finish activating APEXes before starting more processes.
    wait_for_prop apexd.status ready
    perform_apex_config