summaryrefslogtreecommitdiffstats
path: root/debian/kea-dhcp-ddns-server.service
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-04 11:36:05 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-04 11:36:05 +0000
commitcd4d062141cede71ee9cb0ed125e968b5a731a6f (patch)
tree160c2c662fb462d9301cbdf2fafd2df88bcefc66 /debian/kea-dhcp-ddns-server.service
parentAdding upstream version 2.2.0. (diff)
downloadisc-kea-cd4d062141cede71ee9cb0ed125e968b5a731a6f.tar.xz
isc-kea-cd4d062141cede71ee9cb0ed125e968b5a731a6f.zip
Adding debian version 2.2.0-6.debian/2.2.0-6debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/kea-dhcp-ddns-server.service')
-rw-r--r--debian/kea-dhcp-ddns-server.service22
1 files changed, 22 insertions, 0 deletions
diff --git a/debian/kea-dhcp-ddns-server.service b/debian/kea-dhcp-ddns-server.service
new file mode 100644
index 0000000..7975771
--- /dev/null
+++ b/debian/kea-dhcp-ddns-server.service
@@ -0,0 +1,22 @@
+[Unit]
+Description=Kea DDNS Service
+Documentation=man:kea-dhcp-ddns(8)
+Wants=network-online.target
+After=network-online.target
+After=time-sync.target
+
+[Service]
+User=_kea
+AmbientCapabilities=CAP_NET_BIND_SERVICE
+Environment="KEA_LOCKFILE_DIR=/run/lock/kea"
+ConfigurationDirectory=kea
+RuntimeDirectory=kea lock/kea
+RuntimeDirectoryPreserve=yes
+LogsDirectory=kea
+LogsDirectoryMode=0750
+StateDirectory=kea
+ExecStart=/usr/sbin/kea-dhcp-ddns -c /etc/kea/kea-dhcp-ddns.conf
+
+[Install]
+WantedBy=kea-dhcp4-server.service
+WantedBy=kea-dhcp6-server.service