From b8a02f4aa187204ebc6153caa5915ccb6d7a44ba Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Tue, 14 Aug 2018 10:05:56 +0200 Subject: try to pull in network-online.target --- systemd/dyndhcpd@.service | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'systemd') 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 -- cgit v1.2.3-70-g09d2