]> 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 604c369a1b3e3cc251f2b83d788f0df88971215d..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
@@ -12,7 +14,7 @@ DefaultDependencies=no
 Wants=systemd-udevd.service
 After=systemd-udevd-kernel.socket systemd-udevd-control.socket
 Before=sysinit.target
-ConditionCapability=CAP_MKNOD
+ConditionPathIsReadWrite=/sys
 
 [Service]
 Type=oneshot