chiark / gitweb /
shared/machine-pool: remove unnecessary check
[elogind.git] / units / systemd-udev-trigger.service.in
index bafea54573c2a6b4273efeaab047c5e8e5086816..0c33909cee3585f4742bccab64133e83ac70cbbb 100644 (file)
@@ -8,10 +8,11 @@
 [Unit]
 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
-DefaultDependencies=no
-ConditionCapability=CAP_MKNOD
+Before=sysinit.target
+ConditionPathIsReadWrite=/sys
 
 [Service]
 Type=oneshot