[systemd-devel] Watchdog post action

Lennart Poettering lennart at poettering.net
Tue Oct 20 03:37:45 PDT 2015


On Tue, 20.10.15 11:51, Iñigo Martínez (inigomartinez at gmail.com) wrote:

> I have been using ExecStopPost with a combination of busctl's
> introspect command over org.freedesktop.systemd1 interface properties.
> I'm not sure about Result property being the best option, as it
> doesn't reflect exactly a watchdog action, maybe a combination of
> different properties, Result + ExecMainCode + ExecMainStatus.
> 
> Is there any information about the properties of those services ?

Not sure I can parse the question: what precisely are you asking? Do
you want docs for those two properties? There's terse documentation in
the wiki. Other than that, ExecMainCode and ExecMainStatus correspond
directly with the respective fields in the waitid() data, see the
waitid man page.

Lennart

-- 
Lennart Poettering, Red Hat


More information about the systemd-devel mailing list