aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-connectivity/dhcp/files/dhcpd.service
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-connectivity/dhcp/files/dhcpd.service')
-rw-r--r--meta/recipes-connectivity/dhcp/files/dhcpd.service11
1 files changed, 11 insertions, 0 deletions
diff --git a/meta/recipes-connectivity/dhcp/files/dhcpd.service b/meta/recipes-connectivity/dhcp/files/dhcpd.service
new file mode 100644
index 00000000000..8648f1a2538
--- /dev/null
+++ b/meta/recipes-connectivity/dhcp/files/dhcpd.service
@@ -0,0 +1,11 @@
+[Unit]
+Description=DHCP Server Daemon
+After=network.target
+After=time-sync.target
+
+[Service]
+EnvironmentFile=@SYSCONFDIR@/default/dhcp-server
+ExecStart=-@SBINDIR@/dhcpd -q $INTERFACES
+
+[Install]
+WantedBy=multi-user.target