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.
This commit is contained in:
Zbigniew Jędrzejewski-Szmek
2013-03-15 22:55:24 -04:00
parent 5e65c93a43
commit b04c8c83e8
8 changed files with 436 additions and 17 deletions
+16
View File
@@ -0,0 +1,16 @@
`systemd.daemon` module
=======================
.. automodule:: systemd.daemon
:members:
:undoc-members:
:inherited-members:
.. autoattribute:: systemd.daemon.LISTEN_FDS_START
.. autofunction:: _listen_fds
.. autofunction:: _is_fifo
.. autofunction:: _is_socket
.. autofunction:: _is_socket_unix
.. autofunction:: _is_socket_inet
.. autofunction:: _is_mq
+1
View File
@@ -13,6 +13,7 @@ Contents:
journal
id128
daemon
Indices and tables
==================