On Fri, Mar 15, 2013 at 07:58:54PM -0700, Zbigniew Jędrzejewski-Szmek wrote: > commit b04c8c83e8d5670b0923c7cd7d6ea622b0187289 > Author: Zbigniew J??drzejewski-Szmek <[email protected]> > Date: Fri Mar 15 19:01:10 2013 -0400 > > systemd-python: add systemd.daemon wrapping sd-daemon > > Please see the documentation (e.g. pydoc3 systemd.daemon) for full > description. As usual, systemd._daemon wraps the raw interface, while > systemd.daemon provides the more pythonic API. sd_listen_fds, > sd_booted, sd_is_fifo, sd_is_socket, sd_is_socket_unix, > sd_is_socket_inet, sd_is_mq, and SD_LISTEN_FDS_START are currently > wrapped. Hi David, Hi Steven,
I pushed a new module. It would be great if you could double check if I didn't mess anything up. It is mostly straight-forward, one function which could be improved is daemon.listen_fds, which currently returns a list of fds. It might be desirable to have it return a list of file-like-objects, but I wasn't sure how to wrap sockets and mqs. Zbyszek _______________________________________________ systemd-devel mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/systemd-devel
