mirror of
https://github.com/clearlinux/systemd-stable.git
synced 2026-10-17 05:40:54 +00:00
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:
@@ -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
|
||||
@@ -13,6 +13,7 @@ Contents:
|
||||
|
||||
journal
|
||||
id128
|
||||
daemon
|
||||
|
||||
Indices and tables
|
||||
==================
|
||||
|
||||
Reference in New Issue
Block a user