On Mon, Aug 15, 2016 at 6:05 PM, Brad Bishop <[email protected]> wrote:
> Hi list > > I am developing an sd-event+sd-bus application that simply blocks until a > property changes to a specific value using org.freedesktop.DBus. > ObjectManager.PropertiesChanged and org.freedesktop.DBus.Properties.Get. > > I plan on using this application from service units to express ordering > dependencies. > > A couple questions: > > 1 - Does anyone have any feedback on this approach in general? > Depends on how you're going to use the app. I think that's exactly how (After=)NetworkManager-wait-online.service is implemented, for example. > 2 - Should I not be writing my own app - i.e. is this something busctl can > do or makes sense to extend it to do? > I think I've seen someone do this in shell, using dbus-send and dbus-monitor... please don't. -- Mantas Mikulėnas <[email protected]>
_______________________________________________ systemd-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/systemd-devel
