]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - units/ldconfig.service
journal: restore watchdog support
[thirdparty/systemd.git] / units / ldconfig.service
index 09a2b7458f062f540d3315749261af0d05de0027..994edd9908de795c61bf1b437625b3aa1f162390 100644 (file)
@@ -10,10 +10,10 @@ Description=Rebuild Dynamic Linker Cache
 Documentation=man:ldconfig(8)
 DefaultDependencies=no
 Conflicts=shutdown.target
-After=systemd-readahead-collect.service systemd-readahead-replay.service systemd-remount-fs.service
+After=systemd-remount-fs.service
 Before=sysinit.target shutdown.target systemd-update-done.service
-ConditionNeedsUpdate=/etc
-ConditionFileIsExecutable=/sbin/ldconfig
+ConditionNeedsUpdate=|/etc
+ConditionFileNotEmpty=|!/etc/ld.so.cache
 
 [Service]
 Type=oneshot