From 75a22b097c55646724651038d219b716f7e3d838 Mon Sep 17 00:00:00 2001 From: Aleš Mrázek Date: Mon, 6 Jan 2025 16:24:31 +0100 Subject: doc/user/config-network-server-tls.rst: added info about 'files-watchdog' configuration --- doc/user/config-network-server-tls.rst | 20 ++++++++++++++------ 1 file 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: -- cgit v1.2.3