summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2015-09-23 21:10:15 +0200
committerLennart Poettering <lennart@poettering.net>2015-09-23 21:10:15 +0200
commit167e451c37bee5815559f0974cb5383c386600e3 (patch)
tree677987f167cca4e171ee0932063161f3b591f8d1
parent97f709186b1f18e24b3aada244047d08613523ee (diff)
parent92eab5dea40f50d0e66b91ba1224e2101bc83494 (diff)
Merge pull request #1363 from msekletar/ldconfig
units: run ldconfig also when cache is unpopulated
-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