launch_daemon: Monitor teams, and restart services

Operating Systems / Haiku - Axel Dörfler [pinc-software.de] - 6 November 2015 15:50 UTC

- Services that end are now automatically restarted.
- However, this is very basic at the moment, there is no throttling, and no support for shutting down the system.

e2f83cb launch_daemon: Monitor teams, and restart services.
src/servers/launch/Job.cpp | 43 ++++++++++++++++++++---
src/servers/launch/Job.h | 14 ++++++++
src/servers/launch/LaunchDaemon.cpp | 65 +++++++++++++++++++++++++++++++++--
3 files changed, 115 insertions(+), 7 deletions(-)

Upstream: cgit.haiku-os.org


  • Share