chiark / gitweb /
ldconfig: dont run it if ldconfig is not installed
[elogind.git] / units / ldconfig.service
index 43c145b7266e7d330956fb5a8445f3d3ec16b336..09a2b7458f062f540d3315749261af0d05de0027 100644 (file)
@@ -13,6 +13,7 @@ Conflicts=shutdown.target
 After=systemd-readahead-collect.service systemd-readahead-replay.service systemd-remount-fs.service
 Before=sysinit.target shutdown.target systemd-update-done.service
 ConditionNeedsUpdate=/etc
+ConditionFileIsExecutable=/sbin/ldconfig
 
 [Service]
 Type=oneshot