gs_watchdogd: add shutdown critical option

Watchdogd should be alive to complete shutdown
safely. This also aligns the behavior with previous
watchdogd.

Bug: 267080705
Test: boot
Change-Id: Iad85a0d730d032ae57530e0aa6965e2123488b2f
Signed-off-by: Martin Liu <liumartin@google.com>
This commit is contained in:
Martin Liu 2023-02-16 08:06:51 +08:00
parent a59d019822
commit c04e69ae62

View file

@ -3,6 +3,7 @@ service gs_watchdogd /system_ext/bin/gs_watchdogd 10 20
class core
oneshot
seclabel u:r:gs_watchdogd:s0
shutdown critical
on property:vendor.all.devices.ready=1
start gs_watchdogd