On Thu, 09.02.12 10:21, Michael Olbrich ([email protected]) wrote: > > > + 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. > > Hmmm, I think Restart=on-unexpected-failure (= !SERVICE_SUCCESS && > !SERVICE_FAILURE_EXIT_CODE) is probable more usefull.
Hmm, not sure I like the name though. An exit code != 0 might still be unexpected. Maybe "on-abort-or-timeout" is a better name? (And watchdog would just be considered a different type of timeout here?) Lennart -- Lennart Poettering - Red Hat, Inc. _______________________________________________ systemd-devel mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/systemd-devel
