summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAleš Mrázek <ales.mrazek@nic.cz>2025-01-06 16:24:31 +0100
committerAleš Mrázek <ales.mrazek@nic.cz>2025-01-14 10:03:29 +0100
commit75a22b097c55646724651038d219b716f7e3d838 (patch)
tree007fb94fb2248e8624d56e8138674e1a5ffe2a8e
parenttests/packaging/interactive/watchdog.sh: updated with 'files-watchdog' config (diff)
downloadknot-resolver-75a22b097c55646724651038d219b716f7e3d838.tar.xz
knot-resolver-75a22b097c55646724651038d219b716f7e3d838.zip
doc/user/config-network-server-tls.rst: added info about 'files-watchdog' configuration
-rw-r--r--doc/user/config-network-server-tls.rst20
1 files changed, 14 insertions, 6 deletions
diff --git a/doc/user/config-network-server-tls.rst b/doc/user/config-network-server-tls.rst
index 8fc84878..ea63482f 100644
--- a/doc/user/config-network-server-tls.rst
+++ b/doc/user/config-network-server-tls.rst
@@ -128,14 +128,22 @@ policies.
cert-file: /etc/knot-resolver/server-cert.pem
key-file: /etc/knot-resolver/server-key.pem
- .. tip::
+ .. option:: files-watchdog: auto|true|false
- If you have ``python-watchdog`` installed on your system,
+ :default: auto
+
+ By default, if you have ``python-watchdog`` installed on your system,
the certificate files are automatically reloaded on change.
- If you update the certificate files, e.g. using ACME,
- the manager is notified about changes and commands all workers
- to reload their certificate files. If you don't have ``python-watchdog``,
- you have to restart the ``knot-resolver`` service manually.
+ When you update the certificate files, e.g. using ACME,
+ the manager is notified of the changes and commands all workers
+ to reload their certificate files.
+
+ If you don't have ``python-watchdog`` installed, this feature is not available
+ and you will have to restart the ``knot-resolver`` service manually.
+
+ You can also manually enable (``true``) and disable (``false``) this feature in the config,
+ but if it is enabled and ``python-watchdog`` is not installed,
+ the resolver will fail to start with a configuration validation error.
.. option:: sticket-secret: <str>