On Wed, 01.02.12 17:17, Michael Olbrich ([email protected]) wrote:

heya,

sorry it took so much time to review these patches. And thanks for
staying on it.

> This patch adds WatchdogTimestamp[Monotonic] to the systemd service
> D-Bus API. The timestamp is updated to the current time when the
> service calls 'sd_nofity("WATCHDOG=1\n")'.
> Using a timestamp instead of an 'alive' flag has two advantages:
> 1. No timeout is needed to define when a service is no longer alive.
>    This simplifies both configuration (no timeout value) and
>    implementation (no timeout event).
> 2. It is more robust. A 'dead' service might not be detected should
>     systemd 'forget' to reset an 'alive' flag. It is much less likely
>     to get a valid new timestamp if a service died.

Merged this one now, with some minor changes.

Thanks,

Lennart

-- 
Lennart Poettering - Red Hat, Inc.
_______________________________________________
systemd-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to