On Sun, 02.03.14 18:00, Usman (deser...@yahoo.com) wrote:

> So actually i want to listen on dbus and somehow get a message when an
> application has restarted N number of times within time T and will not
> be started anymore. How do I differentiate this case from normal
> application Release message that I do get each time it restarts?

Application "Release" message? what are you referring to? There is no
such thing.

To watch the state of a unit, make sure to invoke Subscribe() on the
main manager object, and then simply watch standard PropertyChanged()
messages on that unit, and look for the "State" property.

Lennart

-- 
Lennart Poettering, Red Hat
_______________________________________________
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to