]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
units: run ldconfig also when cache is unpopulated 1363/head
authorMichal Sekletar <msekleta@redhat.com>
Wed, 23 Sep 2015 17:23:21 +0000 (19:23 +0200)
committerMichal Sekletar <msekleta@redhat.com>
Wed, 23 Sep 2015 17:27:45 +0000 (19:27 +0200)
units/ldconfig.service

index f9691e2f2d0d1d11e8d7a362daefb9f380229568..994edd9908de795c61bf1b437625b3aa1f162390 100644 (file)
@@ -12,7 +12,8 @@ DefaultDependencies=no
 Conflicts=shutdown.target
 After=systemd-remount-fs.service
 Before=sysinit.target shutdown.target systemd-update-done.service
-ConditionNeedsUpdate=/etc
+ConditionNeedsUpdate=|/etc
+ConditionFileNotEmpty=|!/etc/ld.so.cache
 
 [Service]
 Type=oneshot