[packages/dhcp] unit files missed in previous commit

atler atler at pld-linux.org
Sun Nov 21 12:00:24 CET 2021


commit b8e4f380a8c521bad8c663cf38e4ea69ac42dd00
Author: Jan Palus <atler at pld-linux.org>
Date:   Sun Nov 21 11:59:11 2021 +0100

    unit files missed in previous commit

 dhcp-relay.service | 14 ++++++++++++++
 dhcpd.service      | 15 +++++++++++++++
 dhcpd6.service     | 15 +++++++++++++++
 3 files changed, 44 insertions(+)
---
diff --git a/dhcp-relay.service b/dhcp-relay.service
new file mode 100644
index 0000000..a4739b8
--- /dev/null
+++ b/dhcp-relay.service
@@ -0,0 +1,14 @@
+[Unit]
+Description=DHCP Relay Agent Daemon
+Documentation=man:dhcrelay(8)
+Wants=network-online.target
+After=network-online.target
+
+[Service]
+Type=notify
+EnvironmentFile=-/etc/sysconfig/dhcp-relay
+ExecStart=/sbin/dhcrelay -d --no-pid $OPTIONS $DHCP_SERVERS_IP
+StandardError=null
+
+[Install]
+WantedBy=multi-user.target
diff --git a/dhcpd.service b/dhcpd.service
new file mode 100644
index 0000000..9d81f2f
--- /dev/null
+++ b/dhcpd.service
@@ -0,0 +1,15 @@
+[Unit]
+Description=DHCPv4 Server Daemon
+Documentation=man:dhcpd(8) man:dhcpd.conf(5)
+Wants=network-online.target
+After=network-online.target
+After=time-sync.target
+
+[Service]
+Type=notify
+EnvironmentFile=-/etc/sysconfig/dhcpd
+ExecStart=/sbin/dhcpd -f -4 --no-pid $DHCPD_INTERFACES
+StandardError=null
+
+[Install]
+WantedBy=multi-user.target
diff --git a/dhcpd6.service b/dhcpd6.service
new file mode 100644
index 0000000..acec3fe
--- /dev/null
+++ b/dhcpd6.service
@@ -0,0 +1,15 @@
+[Unit]
+Description=DHCPv6 Server Daemon
+Documentation=man:dhcpd(8) man:dhcpd.conf(5)
+Wants=network-online.target
+After=network-online.target
+After=time-sync.target
+
+[Service]
+Type=notify
+EnvironmentFile=-/etc/sysconfig/dhcpd
+ExecStart=/sbin/dhcpd -f -6 -cf /etc/dhcpd6.conf --no-pid $DHCPD_INTERFACES
+StandardError=null
+
+[Install]
+WantedBy=multi-user.target
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/dhcp.git/commitdiff/b8e4f380a8c521bad8c663cf38e4ea69ac42dd00



More information about the pld-cvs-commit mailing list