[systemd-devel] DBus signal on unit start/stop
Holger Winkelmann [TP]
hw at travelping.com
Tue Dec 3 08:34:06 PST 2013
Hi,
----- Original Message -----
> On Saturday 30 November 2013 19:30:12 you wrote:
> > There are standard dbus PropertiesChanged signals sent out for ActiveState
> > changes, which invalidate the properties when they change in released
> > versions of systemd, and which carry the new values along in git.
> >
> > We probably should document which ones we generate this for in
> >
> > http://www.freedesktop.org/wiki/Software/systemd/dbus/
> >
> > Lennart
>
> Thanks for your reply. I have now been playing around with the
> PropertiesChanged signal and found it quite useful for getting updates from
> systemd. By hooking it up with a Qt slot I can update the UI on any unit
> changes. The only drawback is that I am not able to get information about
> which unit had its properties changed from the signal, so I have to update
> the
> entire list of units. However, this is much better than querying for unit
> changes at certain time intervals.
If I read Lennart's answer correctly, the newer version in git already tells you what
have changed: "and which carry the new values along in git"
Is this right?
--
Holger Winkelmann
More information about the systemd-devel
mailing list