summaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-connectivity/kea/files/kea-dhcp4.service
diff options
context:
space:
mode:
authorChangqing Li <changqing.li@windriver.com>2019-10-14 13:59:22 +0800
committerKhem Raj <raj.khem@gmail.com>2019-10-16 20:28:39 -0700
commit62a4970d2e5bc8839bf557a67236334bd2dca86b (patch)
treeb364c8b9e892fdc91e3461310e8ae49c0c0800b4 /meta-networking/recipes-connectivity/kea/files/kea-dhcp4.service
parent1db745db41e31c61448743842104d92a61e7ddfb (diff)
downloadmeta-openembedded-62a4970d2e5bc8839bf557a67236334bd2dca86b.tar.gz
kea: fix kea-dhcp4.service/kea-dhcp6.service start up failed
After upgrade to 1.7.0, path of database file changed from /var/kea to /var/lib/kea, correct the path to fix service start failed problem DHCP6_CONFIG_LOAD_FAIL configuration error using file: /etc/kea/kea-dhcp6.conf, reason: Unable to open database: unable to open '/var/lib/kea/kea-leases6.csv' Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-networking/recipes-connectivity/kea/files/kea-dhcp4.service')
-rw-r--r--meta-networking/recipes-connectivity/kea/files/kea-dhcp4.service2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta-networking/recipes-connectivity/kea/files/kea-dhcp4.service b/meta-networking/recipes-connectivity/kea/files/kea-dhcp4.service
index f32edcb90..b851ea71c 100644
--- a/meta-networking/recipes-connectivity/kea/files/kea-dhcp4.service
+++ b/meta-networking/recipes-connectivity/kea/files/kea-dhcp4.service
@@ -6,7 +6,7 @@ After=time-sync.target
6 6
7[Service] 7[Service]
8ExecStartPre=@BASE_BINDIR@/mkdir -p @LOCALSTATEDIR@/run/kea/ 8ExecStartPre=@BASE_BINDIR@/mkdir -p @LOCALSTATEDIR@/run/kea/
9ExecStartPre=@BASE_BINDIR@/mkdir -p @LOCALSTATEDIR@/kea 9ExecStartPre=@BASE_BINDIR@/mkdir -p @LOCALSTATEDIR@/lib/kea
10ExecStart=@SBINDIR@/kea-dhcp4 -c @SYSCONFDIR@/kea/kea-dhcp4.conf 10ExecStart=@SBINDIR@/kea-dhcp4 -c @SYSCONFDIR@/kea/kea-dhcp4.conf
11 11
12[Install] 12[Install]