chiark / gitweb /
units: rebuild /etc/passwd, the udev hwdb and the journal catalog files on boot
[elogind.git] / units / systemd-networkd.service.in
index a928999205ddd356726e4675bd3d51328c268658..57c3fbff51ee8bff9022007458230853acc3c855 100644 (file)
@@ -9,7 +9,7 @@
 Description=Network Service
 Documentation=man:systemd-networkd.service(8)
 DefaultDependencies=no
-After=dbus.service
+After=dbus.service network-pre.target systemd-sysusers.service
 Before=network.target
 Wants=network.target
 ConditionCapability=CAP_NET_ADMIN
@@ -20,8 +20,8 @@ Restart=always
 RestartSec=0
 ExecStart=@rootlibexecdir@/systemd-networkd
 CapabilityBoundingSet=CAP_NET_ADMIN CAP_NET_BIND_SERVICE CAP_NET_BROADCAST CAP_NET_RAW CAP_SETUID CAP_SETGID CAP_SETPCAP CAP_CHOWN CAP_DAC_OVERRIDE CAP_FOWNER
-ReadOnlySystem=yes
-ProtectedHome=yes
+ProtectSystem=full
+ProtectHome=yes
 WatchdogSec=1min
 
 [Install]