On Fri, 03.02.12 21:14, Michael Olbrich ([email protected]) wrote:

>          switch (s->state) {
> diff --git a/src/service.h b/src/service.h
> index b1e8b90..32341f0 100644
> --- a/src/service.h
> +++ b/src/service.h
> @@ -95,6 +95,7 @@ typedef enum ServiceResult {
>          SERVICE_FAILURE_EXIT_CODE,
>          SERVICE_FAILURE_SIGNAL,
>          SERVICE_FAILURE_CORE_DUMP,
> +        SERVICE_FAILURE_WATCHDOG_TIMEOUT,

I'd just shorten this to "watchdog" instead of "watchdog-timeout".

You also need to add this new enum entry to the string array for it down
in service.c.

Lennart

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

Reply via email to