aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-connectivity/kea/files/kea-dhcp-ddns.service
diff options
context:
space:
mode:
authorakuster <akuster808@gmail.com>2020-09-01 08:22:30 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-09-02 16:00:40 +0100
commit2b911fc989cf88cd0040581f82da0be308c702dd (patch)
tree933793e4f8f476b5c84ab598d2b9ae1117399c14 /meta/recipes-connectivity/kea/files/kea-dhcp-ddns.service
parent4916d9dc2f290058c37830d4a68e8678f95d4c9e (diff)
downloadopenembedded-core-contrib-2b911fc989cf88cd0040581f82da0be308c702dd.tar.gz
openembedded-core-contrib-2b911fc989cf88cd0040581f82da0be308c702dd.tar.bz2
openembedded-core-contrib-2b911fc989cf88cd0040581f82da0be308c702dd.zip
kea: Move from meta-networking
Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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