[SailfishDevel] monitor systemd unit from qml
Michael Fuchs
michfu at gmx.at
Wed Jan 27 16:03:23 UTC 2016
Hi,
I would need some help, please.
I'm trying to monitor a systemd service unit via dbus from qml.
There is a signal "PropertiesChanged" defined but it doesn't get
emitted, when I start or stop the service.
Code:
https://gist.github.com/fuchsmich/354af082fbc4577a4bf5
The GetAll method works and it returns the needed property
org.freedesktop.systemd1.Unit.ActiveState.
So how can I listen to the change of ActiveState?
thanks,
Michael.
More information about the Devel
mailing list