chiark / gitweb /
units: move After=systemd-hwdb-update.service dependency from udev to udev-trigger
[elogind.git] / units / systemd-udev-trigger.service.in
index 604c369a1b3e3cc251f2b83d788f0df88971215d..1e04d11fe39bb72a1d571cb36280787c89a300da 100644 (file)
@@ -10,9 +10,9 @@ Description=udev Coldplug all Devices
 Documentation=man:udev(7) man:systemd-udevd.service(8)
 DefaultDependencies=no
 Wants=systemd-udevd.service
-After=systemd-udevd-kernel.socket systemd-udevd-control.socket
+After=systemd-udevd-kernel.socket systemd-udevd-control.socket systemd-hwdb-update.service
 Before=sysinit.target
-ConditionCapability=CAP_MKNOD
+ConditionPathIsReadWrite=/sys
 
 [Service]
 Type=oneshot