From 0e8d247010bb776a5b55639f38575b4f95e019b3 Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Tue, 19 Jun 2012 12:17:40 -0400 Subject: Only run fedora-storage-init if we have the tools that it invokes. --- systemd/system/fedora-storage-init.service | 3 +++ 1 file changed, 3 insertions(+) (limited to 'systemd/system/fedora-storage-init.service') diff --git a/systemd/system/fedora-storage-init.service b/systemd/system/fedora-storage-init.service index add337b6..6d8e39ff 100644 --- a/systemd/system/fedora-storage-init.service +++ b/systemd/system/fedora-storage-init.service @@ -5,6 +5,9 @@ Conflicts=shutdown.target After=fedora-wait-storage.service Before=local-fs.target shutdown.target Wants=fedora-wait-storage.service +ConditionFileIsExecutable=|/sbin/lvm +ConditionFileIsExecutable=|/sbin/dmraid +ConditionPathExists=|/etc/multipath.conf [Service] ExecStart=/lib/systemd/fedora-storage-init -- cgit v1.2.1