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

Commit fd1aa70a authored by Yifan Hong's avatar Yifan Hong
Browse files

healthd: add healthd.rc

Split healthd section from init.rc into its own. This allows
healthd.rc to be excluded from the build when healthd is excluded.

Test: builds
Test: exclude healthd from build, healthd.rc is not installed
Bug: 77541952
Change-Id: I1c055f14c5862631f359fd0029289da8f43af063
parent 0a5bc293
Loading
Loading
Loading
Loading
+1 −0
Original line number Original line Diff line number Diff line
@@ -56,6 +56,7 @@ cc_binary {


cc_binary {
cc_binary {
    name: "healthd",
    name: "healthd",
    init_rc: ["healthd.rc"],
    srcs: [
    srcs: [
        "HealthServiceHealthd.cpp",
        "HealthServiceHealthd.cpp",
    ],
    ],

healthd/healthd.rc

0 → 100644
+4 −0
Original line number Original line Diff line number Diff line
service healthd /system/bin/healthd
    class hal
    critical
    group root system wakelock
+0 −5
Original line number Original line Diff line number Diff line
@@ -736,11 +736,6 @@ service ueventd /sbin/ueventd
    seclabel u:r:ueventd:s0
    seclabel u:r:ueventd:s0
    shutdown critical
    shutdown critical


service healthd /system/bin/healthd
    class hal
    critical
    group root system wakelock

service console /system/bin/sh
service console /system/bin/sh
    class core
    class core
    console
    console