<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Mon, Aug 15, 2016 at 6:05 PM, Brad Bishop <span dir="ltr"><<a href="mailto:bradleyb@fuzziesquirrel.com" target="_blank">bradleyb@fuzziesquirrel.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi list<br>
<br>
I am developing an sd-event+sd-bus application that simply blocks until a property changes to a specific value using org.freedesktop.DBus.<wbr>ObjectManager.<wbr>PropertiesChanged and org.freedesktop.DBus.<wbr>Properties.Get.<br>
<br>
I plan on using this application from service units to express ordering dependencies.<br>
<br>
A couple questions:<br>
<br>
1 - Does anyone have any feedback on this approach in general?<br></blockquote><div><br></div><div>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.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
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?<br></blockquote><div><br></div><div>I think I've seen someone do this in shell, using dbus-send and dbus-monitor... please don't.</div></div><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">Mantas Mikulėnas <<a href="mailto:grawity@gmail.com" target="_blank">grawity@gmail.com</a>></div></div>
</div></div>