]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - units/systemd-udevd.service.in
units: introduce systemd-udev-load-credentials.service
[thirdparty/systemd.git] / units / systemd-udevd.service.in
index e9dbe85ef4ad06f3f1317183651b5490f7d0d080..f4a44820880daaad11f98e1139e66c805860c250 100644 (file)
@@ -13,19 +13,20 @@ Documentation=man:systemd-udevd.service(8) man:udev(7)
 DefaultDependencies=no
 After=systemd-sysusers.service systemd-hwdb-update.service
 Before=sysinit.target
+Wants=systemd-udev-load-credentials.service
 ConditionPathIsReadWrite=/sys
 
 [Service]
 CapabilityBoundingSet=~CAP_SYS_TIME CAP_WAKE_ALARM
 Delegate=pids
-Type=notify
+DelegateSubgroup=udev
+Type=notify-reload
 # Note that udev will reset the value internally for its workers
 OOMScoreAdjust=-1000
 Sockets=systemd-udevd-control.socket systemd-udevd-kernel.socket
 Restart=always
 RestartSec=0
-ExecStart={{ROOTLIBEXECDIR}}/systemd-udevd
-ExecReload=udevadm control --reload --timeout 0
+ExecStart={{LIBEXECDIR}}/systemd-udevd
 KillMode=mixed
 TasksMax=infinity
 PrivateMounts=yes