aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-connectivity/kea/files/kea-dhcp-ddns.service
diff options
context:
space:
mode:
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 00000000000..91aa2eb14f0
--- /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