summaryrefslogtreecommitdiffstats
path: root/debian/kea-dhcp4-server.service
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-13 12:15:45 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-13 12:15:45 +0000
commit7997b0d23671890191a2269fdea8d16c53dfbe05 (patch)
treeabfb4de3de840068ad7a123981cc2198e7a17827 /debian/kea-dhcp4-server.service
parentAdding upstream version 2.4.1. (diff)
downloadisc-kea-7997b0d23671890191a2269fdea8d16c53dfbe05.tar.xz
isc-kea-7997b0d23671890191a2269fdea8d16c53dfbe05.zip
Adding debian version 2.4.1-2.debian/2.4.1-2
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/kea-dhcp4-server.service')
-rw-r--r--debian/kea-dhcp4-server.service21
1 files changed, 21 insertions, 0 deletions
diff --git a/debian/kea-dhcp4-server.service b/debian/kea-dhcp4-server.service
new file mode 100644
index 0000000..43b70c8
--- /dev/null
+++ b/debian/kea-dhcp4-server.service
@@ -0,0 +1,21 @@
+[Unit]
+Description=Kea IPv4 DHCP daemon
+Documentation=man:kea-dhcp4(8)
+Wants=network-online.target
+After=network-online.target
+After=time-sync.target
+
+[Service]
+User=_kea
+AmbientCapabilities=CAP_NET_BIND_SERVICE CAP_NET_RAW
+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-dhcp4 -c /etc/kea/kea-dhcp4.conf
+
+[Install]
+WantedBy=multi-user.target