From 92eab5dea40f50d0e66b91ba1224e2101bc83494 Mon Sep 17 00:00:00 2001 From: Michal Sekletar Date: Wed, 23 Sep 2015 19:23:21 +0200 Subject: units: run ldconfig also when cache is unpopulated --- units/ldconfig.service | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'units/ldconfig.service') 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 -- cgit v1.2.3-54-g00ecf