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>
10 lines
290 B
Plaintext
10 lines
290 B
Plaintext
# Set watchdog timer to 30 seconds and pet it every 10 seconds to get a 20 second margin
|
|
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
|