diff options
| author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2013-03-15 19:01:10 -0400 |
|---|---|---|
| committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2015-07-05 14:19:18 -0400 |
| commit | d583bb0f53df19ef889d1d2575ac4c7eaacb8795 (patch) | |
| tree | c6148d95d0522bc188e9fc61d6f966b7a2d9953c /systemd/docs | |
| parent | 961f238f8f449b0ecc2945264d26099afb60940b (diff) | |
| download | python-systemd-d583bb0f53df19ef889d1d2575ac4c7eaacb8795.tar.gz | |
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.
Diffstat (limited to 'systemd/docs')
| -rw-r--r-- | systemd/docs/daemon.rst | 16 | ||||
| -rw-r--r-- | systemd/docs/index.rst | 1 |
2 files changed, 17 insertions, 0 deletions
diff --git a/systemd/docs/daemon.rst b/systemd/docs/daemon.rst new file mode 100644 index 0000000..72280ca --- /dev/null +++ b/systemd/docs/daemon.rst @@ -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 diff --git a/systemd/docs/index.rst b/systemd/docs/index.rst index f04d5a1..8a94d07 100644 --- a/systemd/docs/index.rst +++ b/systemd/docs/index.rst @@ -13,6 +13,7 @@ Contents: journal id128 + daemon Indices and tables ================== |
