[systemd-devel] how to get sd_notify state/variables from dbus?

Rick Richardson rick.richardson at gmail.com
Fri Jan 8 10:09:45 PST 2016


I have a fleet of applications that need to pass some critical variables
back to systemd so that our services monitor can collect them.  My hope is
that this can be done via sd_notify as it is very much a config-management
and process monitoring related task.

Currently my monitor subscribes to PropertiesChanged in dbus, and gets the
active/running notification upon an sd_notify from the service, I can see
the StatusText variable set via the STATUS=... but I can't seem to figure
out where the rest of the notify state is stored.

Thanks,
Rick
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/systemd-devel/attachments/20160108/903de1bb/attachment.html>


More information about the systemd-devel mailing list