aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2018-08-14 09:46:16 +0200
committerGravatar Christian Hesse <mail@eworm.de>2018-08-14 09:46:16 +0200
commit702fc3aae42e02759e1a2385ffd29aca2de6b259 (patch)
tree8571467e12ad3dd30b1765efc18ba9871c688296
parente103db7bb9328cb81eedb90fccd150f0db24e2cf (diff)
downloaddyndhcpd-702fc3aae42e02759e1a2385ffd29aca2de6b259.tar.gz
dyndhcpd-702fc3aae42e02759e1a2385ffd29aca2de6b259.tar.xz
order after systemd-networkd.service
-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