[systemd-devel] [systemd-commits] 10 commits - Makefile.am man/systemd-activate.xml man/systemd.exec.xml man/systemd.service.xml src/activate src/core src/python-systemd src/shared src/test TODO units/systemd-sysctl.service.in

Zbigniew Jędrzejewski-Szmek zbyszek at in.waw.pl
Fri Mar 15 20:35:30 PDT 2013

On Fri, Mar 15, 2013 at 07:58:54PM -0700, Zbigniew Jędrzejewski-Szmek wrote:
> commit b04c8c83e8d5670b0923c7cd7d6ea622b0187289
> Author: Zbigniew J??drzejewski-Szmek <zbyszek at in.waw.pl>
> 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.


More information about the systemd-devel mailing list