File: set-full-path-for-leases.txt.patch

package info (click to toggle)
golang-github-coredhcp-coredhcp 0.0.0%2Bgit.20250806.f7e98e4-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 460 kB
  • sloc: makefile: 8; sh: 6
file content (23 lines) | stat: -rw-r--r-- 908 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
From: Thomas Goirand <zigo@debian.org>
Date: Tue, 7 Feb 2023 01:10:46 +0800
Subject: Set full path for leases.txt

Forwarded: no
Last-Update: 2022-10-28
---
 cmds/coredhcp/config.yml.example | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cmds/coredhcp/config.yml.example b/cmds/coredhcp/config.yml.example
index c9cb91e..59d7536 100644
--- a/cmds/coredhcp/config.yml.example
+++ b/cmds/coredhcp/config.yml.example
@@ -77,7 +77,7 @@ server6:
         # The file format is one lease per line, "<hw address> <IPv6>"
         # When the 'autorefresh' argument is given, the plugin will try to refresh
         # the lease mapping during runtime whenever the lease file is updated.
-        - file: "leases.txt"
+        - file: "/var/lib/coredhcp/leases.txt"
 
         # dns adds information about available DNS resolvers to the responses
         # - dns: <resolver IP> <... resolver IPs>