summaryrefslogtreecommitdiffstats
path: root/systemd
diff options
context:
space:
mode:
Diffstat (limited to 'systemd')
-rw-r--r--systemd/dyndhcpd@.service3
1 files changed, 1 insertions, 2 deletions
diff --git a/systemd/dyndhcpd@.service b/systemd/dyndhcpd@.service
index 25c93cd..251562c 100644
--- a/systemd/dyndhcpd@.service
+++ b/systemd/dyndhcpd@.service
@@ -1,8 +1,7 @@
[Unit]
Description=IPv4 DHCP server for interface %i
-After=network.target
Requires=sys-subsystem-net-devices-%i.device
-After=sys-subsystem-net-devices-%i.device
+After=sys-subsystem-net-devices-%i.device network.target systemd-networkd.service
[Service]
ExecStart=!/usr/bin/dyndhcpd --interface %i --user %p-%i --pidfile /run/%p@%i/dhcpd.pid --leases /var/lib/%p@%i/dhcp.leases --write-config /run/%p@%i/dhcpd.conf