diff options
author | Marcel Waldvogel <marcel.waldvogel@uni-konstanz.de> | 2018-06-21 22:54:03 +0200 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2019-06-16 15:11:12 +0200 |
commit | 216f99056534a686a2c980e8c54686063424f871 (patch) | |
tree | ef3c6685b77764714f8bad58f6437c3565e3782a | |
parent | c06c5d401d60ae9175367be0797a6c2b562ac5ba (diff) | |
download | python-systemd-216f99056534a686a2c980e8c54686063424f871.tar.gz |
Adapt to systemd 230 tool renaming, bump version
-rw-r--r-- | NEWS | 5 | ||||
-rw-r--r-- | setup.py | 2 | ||||
-rw-r--r-- | systemd/daemon.py | 2 |
3 files changed, 7 insertions, 2 deletions
@@ -1,5 +1,10 @@ Python wrappers for libsystemd API +CHANGES WITH 235: + + * Adapt the rename of systemd-activate to systemd-socket-activate + performed in systemd 230 + CHANGES WITH 234: * Support for the new sd_is_socket_sockaddr added in systemd 233 @@ -45,7 +45,7 @@ def lib(*names, **kw): + '\n'.join(results) + '\n') sys.exit(status) -version = '234' +version = '235' defines = {'define_macros':[('PACKAGE_VERSION', '"{}"'.format(version))]} _journal = Extension('systemd/_journal', diff --git a/systemd/daemon.py b/systemd/daemon.py index 625219c..217b595 100644 --- a/systemd/daemon.py +++ b/systemd/daemon.py @@ -58,7 +58,7 @@ def listen_fds(unset_environment=True): Example:: (in primary window) - $ systemd-activate -l 2000 python3 -c \\ + $ systemd-socket-activate -l 2000 python3 -c \\ 'from systemd.daemon import listen_fds; print(listen_fds())' (in another window) $ telnet localhost 2000 |