diff options
author | Bill Nottingham <notting@redhat.com> | 2012-06-19 12:17:40 -0400 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 2012-06-19 12:17:40 -0400 |
commit | 0e8d247010bb776a5b55639f38575b4f95e019b3 (patch) | |
tree | 443cb23ae7ac0239e1b52e201aa9a4555d860e5b /systemd/system/fedora-storage-init.service | |
parent | 412c4edd047a9380de9e6908437543ad744e05b3 (diff) | |
download | initscripts-0e8d247010bb776a5b55639f38575b4f95e019b3.tar initscripts-0e8d247010bb776a5b55639f38575b4f95e019b3.tar.gz initscripts-0e8d247010bb776a5b55639f38575b4f95e019b3.tar.bz2 initscripts-0e8d247010bb776a5b55639f38575b4f95e019b3.tar.xz initscripts-0e8d247010bb776a5b55639f38575b4f95e019b3.zip |
Only run fedora-storage-init if we have the tools that it invokes.
Diffstat (limited to 'systemd/system/fedora-storage-init.service')
-rw-r--r-- | systemd/system/fedora-storage-init.service | 3 |
1 files changed, 3 insertions, 0 deletions
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 |