aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-connectivity/kea/files/kea-dhcp-ddns.service
diff options
context:
space:
mode:
authorArmin Kuster <akuster808@gmail.com>2020-06-21 12:20:13 -0700
committerArmin Kuster <akuster808@gmail.com>2020-06-21 12:20:13 -0700
commit3237648e0f3809893e950b7d119b4902c83586f4 (patch)
treea02338c2f8c8be7d28b78662171e07944c2d4d3a /meta/recipes-connectivity/kea/files/kea-dhcp-ddns.service
parent0fac20712a2f1ab82a2573d8ffea1c7dc97df391 (diff)
downloadopenembedded-core-contrib-akusgter/bind_update.tar.gz
openembedded-core-contrib-akusgter/bind_update.tar.bz2
openembedded-core-contrib-akusgter/bind_update.zip
kea: Move to coreakusgter/bind_update
ISC dhcp is being retiered by kea. Move kea from meta-oe to core Signed-off-by: Armin Kuster <akuster808@gmail.com>
Diffstat (limited to 'meta/recipes-connectivity/kea/files/kea-dhcp-ddns.service')
-rw-r--r--meta/recipes-connectivity/kea/files/kea-dhcp-ddns.service13
1 files changed, 13 insertions, 0 deletions
diff --git a/meta/recipes-connectivity/kea/files/kea-dhcp-ddns.service b/meta/recipes-connectivity/kea/files/kea-dhcp-ddns.service
new file mode 100644
index 0000000000..91aa2eb14f
--- /dev/null
+++ b/meta/recipes-connectivity/kea/files/kea-dhcp-ddns.service
@@ -0,0 +1,13 @@
+[Unit]
+Description=Kea DHCP-DDNS Server
+Wants=network-online.target
+After=network-online.target
+After=time-sync.target
+
+[Service]
+ExecStartPre=@BASE_BINDIR@/mkdir -p @LOCALSTATEDIR@/run/kea/
+ExecStartPre=@BASE_BINDIR@/mkdir -p @LOCALSTATEDIR@/kea
+ExecStart=@SBINDIR@/kea-dhcp-ddns -c @SYSCONFDIR@/kea/kea-dhcp-ddns.conf
+
+[Install]
+WantedBy=multi-user.target