X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=units%2Fsystemd-networkd.service.in;h=8dd37ff769e78b76383ba92ed4aea090c449f65f;hb=d96e629fd7a29323ab19917d5afeb05adc62b373;hp=c12f3983ea3bdeb41020522cfcfa407238cc602e;hpb=74f9e0f20368116fe09f9bf0e5eb0aba08e6ee42;p=elogind.git diff --git a/units/systemd-networkd.service.in b/units/systemd-networkd.service.in index c12f3983e..8dd37ff76 100644 --- a/units/systemd-networkd.service.in +++ b/units/systemd-networkd.service.in @@ -9,6 +9,7 @@ Description=Network Service Documentation=man:systemd-networkd.service(8) DefaultDependencies=no +After=dbus.service systemd-udevd-kernel.socket Before=network.target Wants=network.target ConditionCapability=CAP_NET_ADMIN @@ -18,4 +19,9 @@ Type=notify Restart=always RestartSec=0 ExecStart=@rootlibexecdir@/systemd-networkd +CapabilityBoundingSet=CAP_NET_ADMIN CAP_NET_BIND_SERVICE CAP_NET_BROADCAST CAP_NET_RAW CAP_SYS_PTRACE WatchdogSec=1min + +[Install] +Also=systemd-networkd-wait-online.service +WantedBy=multi-user.target