aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-connectivity/kea/files/kea-dhcp6.service
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-connectivity/kea/files/kea-dhcp6.service')
-rw-r--r--meta/recipes-connectivity/kea/files/kea-dhcp6.service13
1 files changed, 13 insertions, 0 deletions
diff --git a/meta/recipes-connectivity/kea/files/kea-dhcp6.service b/meta/recipes-connectivity/kea/files/kea-dhcp6.service
new file mode 100644
index 00000000000..0f9f0ef8d98
--- /dev/null
+++ b/meta/recipes-connectivity/kea/files/kea-dhcp6.service
@@ -0,0 +1,13 @@
+[Unit]
+Description=Kea DHCPv6 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@/lib/kea
+ExecStart=@SBINDIR@/kea-dhcp6 -c @SYSCONFDIR@/kea/kea-dhcp6.conf
+
+[Install]
+WantedBy=multi-user.target