[systemd-devel] libsystemd export message_append_cmdline
Mantas Mikulėnas
grawity at gmail.com
Mon Aug 15 19:33:02 UTC 2016
On Mon, Aug 15, 2016 at 6:05 PM, Brad Bishop <bradleyb at fuzziesquirrel.com>
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 <grawity at gmail.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/systemd-devel/attachments/20160815/d7e61a69/attachment.html>
More information about the systemd-devel
mailing list