]> git.ipfire.org Git - thirdparty/knot-resolver.git/commitdiff
doc: remove parts exclusive for systemd socket activation
authorVladimír Čunát <vladimir.cunat@nic.cz>
Tue, 21 Jan 2020 14:51:47 +0000 (15:51 +0100)
committerTomas Krizek <tomas.krizek@nic.cz>
Tue, 21 Jan 2020 16:59:40 +0000 (17:59 +0100)
Well, the `view` note applies to any sockets passed from a supervisor,
but together that seems a very exotic combination.

doc/build.rst
doc/kresd.8.in
modules/view/README.rst

index 7302bf7e6e6f5c3cf6500dcf6352d42e32b5a01f..d8eb7bb225c2ce37b534d7237a4e3a01fc6df3d3 100644 (file)
@@ -50,7 +50,7 @@ Resolver:
    "Sphinx_ and sphinx_rtd_theme_", "``documentation``", "Building this
    HTML/PDF documentation."
    "breathe_", "``documentation``", "Exposing Doxygen API doc to Sphinx."
-   "libsystemd_ >= 227", "``daemon``", "Systemd socket activation support."
+   "libsystemd_", "``daemon``", "Systemd watchdog support."
    "libprotobuf_ 3.0+", "``modules/dnstap``", "Protocol Buffers support for
    dnstap_."
    "`libprotobuf-c`_ 1.0+", "``modules/dnstap``", "C bindings for Protobuf."
index 3b194c845dc70e4425e3996ed87be22d8539b564..632caee2aa293a215653c94f6b2c562c3083fe4b 100644 (file)
@@ -98,10 +98,8 @@ UNIX socket in \fIrundir\fR that the operator can connect to for interactive ses
 A number greater than 1 forks the daemon N times, all forks will bind to same addresses
 and the kernel will load-balance between them on Linux with \fISO_REUSEPORT\fR support.
 
-When socket-activated and supervised by systemd or the equivalent, kresd defaults to
---noninteractive.  If you want multiple concurrent
-processes supervised in this way, they should be supervised independently (see
-\fBkresd.systemd(7)\fR).
+If you want multiple concurrent processes supervised in this way,
+they should be supervised independently (see \fBkresd.systemd(7)\fR).
 .TP
 .B \-n\fR, \fB\-\-noninteractive
 Daemon will refrain from entering into read-eval-print loop for stdin+stdout.
index c352a2e3688277b4e490e224dbdc7c4c0c0d63f4..30c5d462dfe54b6ada5273d0d684c0c7ff0ef51c 100644 (file)
@@ -53,12 +53,6 @@ Example configuration
        -- Drop everything that hasn't matched
        view:addr('0.0.0.0/0', policy.all(policy.DROP))
 
-.. note:: When using systemd socket activation, it's possible to bind to IPv6
-   socket that also handles IPv4 connections via v4-mapped-on-v6 addresses.
-   With this setup, using IPv4 syntax in ``view:addr()`` is currently not
-   supported.  Instead, you can use the v4-mapped-on-v6 syntax, e.g.
-   ``::ffff:127.0.0.0/104`` instead of ``127.0.0.0/8``.
-
 Rule order
 ----------