From: Vladimír Čunát Date: Sun, 23 Jul 2023 08:57:23 +0000 (+0200) Subject: doc: .yml -> .yaml X-Git-Tag: v6.0.2~29^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=8386198b89f1e70ca1271d60d84956465776857e;p=thirdparty%2Fknot-resolver.git doc: .yml -> .yaml At least in parts where it wouldn't conflict with other doc WIP. --- diff --git a/doc/deployment-docker.rst b/doc/deployment-docker.rst index 787a9b7a3..462ab061d 100644 --- a/doc/deployment-docker.rst +++ b/doc/deployment-docker.rst @@ -13,7 +13,7 @@ An official Docker image can be found on `Docker Hub ` documentation. @@ -24,7 +24,7 @@ Examples are also installed as documentation files, typically in ``/usr/share/do .. code-block:: - $ kresctl validate /etc/knot-resolver/config.yml + $ kresctl validate /etc/knot-resolver/config.yaml If you update the configuration file while Knot Resolver is running, you can force the resolver to **reload** it by invoking a ``systemd`` reload command. @@ -260,4 +260,4 @@ See chapter :ref:`cache_persistence`. .. :ref:`operation-chapter` chapters. .. _`DNS Privacy Test Servers`: https://dnsprivacy.org/wiki/display/DP/DNS+Privacy+Test+Servers -.. _tmpfs: https://en.wikipedia.org/wiki/Tmpfs \ No newline at end of file +.. _tmpfs: https://en.wikipedia.org/wiki/Tmpfs diff --git a/doc/manager-api.rst b/doc/manager-api.rst index 592710903..0001824d2 100644 --- a/doc/manager-api.rst +++ b/doc/manager-api.rst @@ -14,7 +14,7 @@ You can use HTTP API to dynamically change configuration of already running Knot By default the API is configured as UNIX domain socket ``manager.sock`` located in the resolver's rundir (typically ``/run/knot-resolver/``). This socket is used by ``kresctl`` utility in default. -The API setting can be changed only in ``/etc/knot-resolver/config.yml`` configuration file: +The API setting can be changed only in ``/etc/knot-resolver/config.yaml`` configuration file: .. code-block:: yaml diff --git a/doc/upgrading-to-6.rst b/doc/upgrading-to-6.rst index b8aa0831c..1b8c874d2 100644 --- a/doc/upgrading-to-6.rst +++ b/doc/upgrading-to-6.rst @@ -35,7 +35,7 @@ open logs of all instances ``journalctl -u knot-resolver`` open log of a single kresd instances ``journalctl -u knot-resolver _PID=xxx`` ``journalctl -u kresd@1`` updating config programatically use HTTP API or ``kresctl`` command write a custom tool to generate new config and restart ``kresd``'s handling errors during config changes HTTP API just reports error, resolver keeps running with previous config custom tools for every user -validate new config ``kresctl validate path/to/new/config.yml`` (not fully bullet proof), then try to run it run ``kresd`` with the config and see if it fails -look at the Lua config ``kresctl convert path/to/new/config.yml`` ``cat /path/to/config.conf`` +validate new config ``kresctl validate path/to/new/config.yaml`` (not fully bullet proof), then try to run it run ``kresd`` with the config and see if it fails +look at the Lua config ``kresctl convert path/to/new/config.yaml`` ``cat /path/to/config.conf`` gather metrics point Prometheus etc. at the single HTTP API collect metrics manually from all individual processes -========================================== =========================================================================================== ================================================================== \ No newline at end of file +========================================== =========================================================================================== ==================================================================