Dear systemd developers,

I am developing a KDE-based frontend for systemd. I currently have a list of 
units retrieved via DBus through the ListUnits method. However, the list is 
static at the moment. I want it to auto-update when units get e.g. 
started/stopped. I can monitor when units get loaded/unloaded, when the daemon 
gets reloaded and when unit files have changed through the relevant DBus 
signals. Unfortunately, none of these signals get emitted when a unit gets 
started/stopped (i.e. when the ActiveState and/or SubState change).

Is there any plan to implement such signals in systemd dbus API (or a reason 
not to implement them)? Do you have any ideas on how to monitor units' 
ActiveState/SubState without such signals (short of calling the ListUnits 
method at certain time intervals and monitor for changes)?

Any help appreciated.

Sincerely,
Ragnar Thomsen

PS: The repository is found at: https://github.com/rthomsen/kcmsystemd
_______________________________________________
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to