aboutsummaryrefslogtreecommitdiffstats
path: root/systemd
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2018-08-14 10:05:56 +0200
committerGravatar Christian Hesse <mail@eworm.de>2018-08-14 10:05:56 +0200
commitb8a02f4aa187204ebc6153caa5915ccb6d7a44ba (patch)
tree02efe2c54629e152365659e015fa6dae16455db3 /systemd
parentf5ad58fda59cd047af7806683804b32ebd4b3b66 (diff)
downloaddyndhcpd-b8a02f4aa187204ebc6153caa5915ccb6d7a44ba.tar.gz
dyndhcpd-b8a02f4aa187204ebc6153caa5915ccb6d7a44ba.tar.zst
try to pull in network-online.target
Diffstat (limited to 'systemd')
-rw-r--r--systemd/dyndhcpd@.service3
1 files changed, 2 insertions, 1 deletions
diff --git a/systemd/dyndhcpd@.service b/systemd/dyndhcpd@.service
index 251562c..591f8b7 100644
--- a/systemd/dyndhcpd@.service
+++ b/systemd/dyndhcpd@.service
@@ -1,7 +1,8 @@
[Unit]
Description=IPv4 DHCP server for interface %i
Requires=sys-subsystem-net-devices-%i.device
-After=sys-subsystem-net-devices-%i.device network.target systemd-networkd.service
+After=sys-subsystem-net-devices-%i.device network.target network-online.target systemd-networkd.service
+Wants=network-online.target
[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