]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - units/systemd-udev-trigger.service.in
Revert "man: mention that systemctl is-active or is-failed do not load units"
[thirdparty/systemd.git] / units / systemd-udev-trigger.service.in
index 2f34d53aaed2c89228a659744d4ae8516a61ad00..3cdde944461fa684415d2750d97e4c8ce6d954ed 100644 (file)
@@ -1,3 +1,5 @@
+#  SPDX-License-Identifier: LGPL-2.1+
+#
 #  This file is part of systemd.
 #
 #  systemd is free software; you can redistribute it and/or modify it
@@ -7,14 +9,14 @@
 
 [Unit]
 Description=udev Coldplug all Devices
-Documentation=man:udev(7)
-Documentation=man:systemd-udevd(8)
-Wants=systemd-udev.service
-After=systemd-udev-kernel.socket systemd-udev-control.socket
+Documentation=man:udev(7) man:systemd-udevd.service(8)
 DefaultDependencies=no
-ConditionCapability=CAP_MKNOD
+Wants=systemd-udevd.service
+After=systemd-udevd-kernel.socket systemd-udevd-control.socket
+Before=sysinit.target
+ConditionPathIsReadWrite=/sys
 
 [Service]
 Type=oneshot
 RemainAfterExit=yes
-ExecStart=@bindir@/udevadm trigger --type=subsystems --action=add ; @bindir@/udevadm trigger --type=devices --action=add
+ExecStart=@rootbindir@/udevadm trigger --type=subsystems --action=add ; @rootbindir@/udevadm trigger --type=devices --action=add