diff options
Diffstat (limited to 'python/knot_resolver/manager/server.py')
-rw-r--r-- | python/knot_resolver/manager/server.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/python/knot_resolver/manager/server.py b/python/knot_resolver/manager/server.py index 90fd4d3b..fbfef244 100644 --- a/python/knot_resolver/manager/server.py +++ b/python/knot_resolver/manager/server.py @@ -27,7 +27,7 @@ from knot_resolver.datamodel.cache_schema import CacheClearRPCSchema from knot_resolver.datamodel.config_schema import KresConfig, get_rundir_without_validation from knot_resolver.datamodel.globals import Context, set_global_validation_context from knot_resolver.datamodel.management_schema import ManagementSchema -from knot_resolver.manager import metrics +from knot_resolver.manager import files, metrics from knot_resolver.utils import custom_atexit as atexit from knot_resolver.utils import ignore_exceptions_optional from knot_resolver.utils.async_utils import readfile @@ -566,6 +566,8 @@ async def start_server(config: Path = CONFIG_FILE) -> int: # noqa: PLR0915 # started, therefore before initializing manager await metrics.init_prometheus(config_store) + await files.init_files_watchdog(config_store) + # prepare instance of the server (no side effects) server = Server(config_store, config) |