On Wed, 08.02.12 10:10, Michael Olbrich ([email protected]) wrote:

Thanks,

applied.

> +                                
> <citerefentry><refentrytitle>sd_notify</refentrytitle><manvolnum>3</manvolnum></citerefentry>
> +                                regularly with "WATCHDOG=1". If the time
> +                                between two such calls is larger than
> +                                the configured time then the service
> +                                enters a failure state. By setting
> +                                <term><varname>Restart=</varname></term>
> +                                to <option>on-failure</option> or
> +                                <option>always</option> the service can
> +                                be restarted. Defaults to 0s, which
> +                                disables this feature.</para></listitem>

This makes me think that it might be a good idea to add a new restart
setting for this: Restart=on-watchdog, for people who only want to
restart on watchdog failures, but not otherwise? Do you think this could
be useful to you? If so, happy to merge a patch for that.

Lennart

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

Reply via email to