knot: fix patch for configuration sample
authorJan Hák <[email protected]>
Wed, 19 Mar 2025 14:25:23 +0000 (15:25 +0100)
committerJosef Schlehofer <[email protected]>
Thu, 10 Apr 2025 13:08:27 +0000 (15:08 +0200)
Fixes #26149

Signed-off-by: Jan Hák <[email protected]>
net/knot/patches/02_knot.conf.patch

index e636978783093c09cecfdfc24c4824fffb54fb6b..935fc46137f62e6b28f13d9b2825037973042701 100644 (file)
@@ -1,11 +1,11 @@
 --- a/samples/knot.sample.conf.in
 +++ b/samples/knot.sample.conf.in
-@@ -25,6 +25,8 @@ template:
-   - id: default
+@@ -13,6 +13,8 @@ log:
+ database:
      storage: "@storage_dir@"
-     file: "%s.zone"
-+    max-journal-db-size: 20M
-+    max-timer-db-size: 5M
++    journal-db-max-size: 20M
++    timer-db-max-size: 5M
  
zone:
- #    # Primary zone
remote:
+ #  - id: secondary