]> git.ipfire.org Git - thirdparty/knot-resolver.git/commitdiff
doc/upgrading: control socket location
authorTomas Krizek <tomas.krizek@nic.cz>
Wed, 15 Jan 2020 12:03:32 +0000 (13:03 +0100)
committerTomas Krizek <tomas.krizek@nic.cz>
Fri, 17 Jan 2020 12:39:36 +0000 (13:39 +0100)
daemon/scripting.rst
doc/upgrading.rst

index 25c7c0a8c014c24752b15ff36c892548e724121a..63cdb658544e0e9bdd2e1d27a821e11afbcabbf0 100644 (file)
@@ -29,7 +29,7 @@ program, e.g. a maintenance script.
 
 When Knot Resolver is started using Systemd (see section
 :ref:`quickstart-startup`) it creates a control socket in path
-``/run/knot-resolver/control/$SYSTEMD_INSTANCE``. Connection to the socket can
+``/run/knot-resolver/control/$ID``. Connection to the socket can
 be made from command line using e.g. ``netcat`` or ``socat``:
 
 .. code-block:: bash
index 3b00dc9c307dac1894ac363148e1ae380d0e7fb6..6e53758b53e04b84f958cb67bd4cd7bac5e1d36c 100644 (file)
@@ -10,12 +10,25 @@ We advise users to also read :ref:`release_notes` for respective versions.
 4.x to 5.x
 ==========
 
+Users
+-----
+
+* Control socket location has changed
+
+  .. csv-table::
+     :header: "","4.x location","5.x location"
+
+     "with systemd","``/run/knot-resolver/control@$ID``","``/run/knot-resolver/control/$ID``"
+     "without systemd","``$PWD/tty/$PID``","``$PWD/control/$PID``"
+
+
 Configuration file
 ------------------
 
-* ``net.listen()`` throws an error if it fails to bind. Use ``freebind=true`` option
+* :func:`net.listen` throws an error if it fails to bind. Use ``freebind=true`` option
   to bind to nonlocal addresses.
 
+
 4.2.2 to 4.3+
 =============