diff options
author | Tom Cherry <tomcherry@google.com> | 2019-09-10 10:40:47 -0700 |
---|---|---|
committer | Tobias Thierer <tobiast@google.com> | 2019-09-13 16:48:35 +0100 |
commit | 60971e6ce22bd4fee531dc72875acb4b913f69a7 (patch) | |
tree | aa80b358efb90ac48551640a81e29dc0d52aefad /libsparse/sparse_fuzzer.cpp | |
parent | 6f735df0d1268cc976e5834c3cb1cc9e6fe9395d (diff) |
init: add reboot_on_failure service option
This replaces the recently added `exec_reboot_on_failure` builtin, since
it'll be cleaner to extend service definitions than extending `exec`.
This is in line with what we decided when adding `exec_start` instead
of extending `exec` to add parameters for priority.
Test: `exec_start` a service with a reboot_on_failure option and watch
the system reboot appropriately when the service is not found and when
the service terminates with a non-zero exit code.
Change-Id: I332bf9839fa94840d159a810c4a6ba2522189d0b
Diffstat (limited to 'libsparse/sparse_fuzzer.cpp')
0 files changed, 0 insertions, 0 deletions