diff options
| author | Bertrand SIMONNET <bsimonnet@google.com> | 2015-12-18 11:39:59 -0800 |
|---|---|---|
| committer | Bertrand SIMONNET <bsimonnet@google.com> | 2016-01-08 11:12:15 -0800 |
| commit | b7e03e82b89a30b09fea88eaf2a5638df1017cf6 (patch) | |
| tree | 4a82e891ea154a1ac42c736e120a1b8e985c5a06 /base/errors_unix.cpp | |
| parent | a649a7df15617e1e54cc89c2f682a5e6472bf304 (diff) | |
init: Allows shutting down cleanly.
When ro.build.shutdown_timeout is set, init will send a SIGTERM signal to
all services on reboot. The normal shutdown process will continue once
all services have exited or after the shutdown timeout
(ro.build.shutdown_timeout).
If ro.build.shutdown_timeout is not set, we assume a 0s timeout.
Bug: 26216447
Test: manual: Ask to reboot. All services exit cleanly.
Change-Id: If921f6e8d87211e500ac9fa86f3e1eabe02d18cf
Diffstat (limited to 'base/errors_unix.cpp')
0 files changed, 0 insertions, 0 deletions
