diff options
author | Tom Cherry <tomcherry@google.com> | 2018-09-27 16:10:46 -0700 |
---|---|---|
committer | Tom Cherry <tomcherry@google.com> | 2018-10-04 19:52:37 -0700 |
commit | 73f535e33b1fcb8088bc12c0431647286ef8ea44 (patch) | |
tree | 0f5bc65f909d3f89f56b720c09eef0fac0507211 /libutils/FileMap.cpp | |
parent | 3da42a6c05311653ff5d12b5057d5f3c40ac0c1a (diff) |
init: allow customizable restart and timeout periods for services
Allow services to specify a custom restart period via the
restart_period service option. This will allow services to be run
periodically, such as a service that needs to run every hour.
Allow services to specify a timeout period via the timeout_period
service option. This will allow services to be killed after the
timeout expires if they are still running. This can be combined with
restart_period for creating period services.
Test: test app restarts every minute
Change-Id: Iad017820f9a602f9826104fb8cafc91bfb4b28d6
Diffstat (limited to 'libutils/FileMap.cpp')
0 files changed, 0 insertions, 0 deletions