summaryrefslogtreecommitdiff
path: root/systemd/daemon.py
Commit message (Collapse)AuthorAgeFilesLines
* Adapt to systemd 230 tool renaming, bump versionMarcel Waldvogel2019-06-161-1/+1
|
* Adjust import order, spacing, operators as recommended by pylintZbigniew Jędrzejewski-Szmek2017-03-121-1/+2
|
* daemon: add wrapper for sd_is_socket_sockaddr and testsZbigniew Jędrzejewski-Szmek2016-12-151-0/+15
| | | | Specifying the address without does not work.
* python-systemd: fix is_socket_inet to cope with portsSimon Farnsworth2015-07-051-1/+1
| | | | Just a couple of trivial oversights.
* systemd-python: wrap sd_notifyZbigniew Jędrzejewski-Szmek2015-07-051-0/+1
| | | | | _listen_fds() is modified to accept unset_environment arg as keyword, to match new notify().
* systemd-python: add __version__ stringsZbigniew Jędrzejewski-Szmek2015-07-051-1/+2
|
* systemd-python: add systemd.daemon wrapping sd-daemonZbigniew Jędrzejewski-Szmek2015-07-051-0/+53
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.