summaryrefslogtreecommitdiff
path: root/units
diff options
context:
space:
mode:
authorMichal Sekletar <msekleta@redhat.com>2015-09-23 19:23:21 +0200
committerMichal Sekletar <msekleta@redhat.com>2015-09-23 19:27:45 +0200
commit92eab5dea40f50d0e66b91ba1224e2101bc83494 (patch)
tree1d048fc12bfa98717a75ef21a3a87f0a3412b64a /units
parent73de5e9464e0b50db45dc1d2278a9eba3fa4fc79 (diff)
units: run ldconfig also when cache is unpopulated
Diffstat (limited to 'units')
-rw-r--r--units/ldconfig.service3
1 files changed, 2 insertions, 1 deletions
diff --git a/units/ldconfig.service b/units/ldconfig.service
index f9691e2f2d..994edd9908 100644
--- a/units/ldconfig.service
+++ b/units/ldconfig.service
@@ -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