summaryrefslogtreecommitdiffstats
path: root/systemd/mdadm-grow-continue@.service
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.de>2014-05-22 09:13:02 +0200
committerNeilBrown <neilb@suse.de>2014-05-22 09:13:02 +0200
commit85945e1986837e1e34247a03c99039593fbceb8b (patch)
tree453d176c911ae229c7dc81b9cbc414187f3b54ee /systemd/mdadm-grow-continue@.service
parentmdcheck: new script to help with regular checks of md arrays. (diff)
downloadmdadm-85945e1986837e1e34247a03c99039593fbceb8b.tar.xz
mdadm-85945e1986837e1e34247a03c99039593fbceb8b.zip
install: use BINDIR consistently to locate mdadm and mdmon
Every place where the paths for mdadm or mdmon is explicit, it should use the BINDIR setting, not "/sbin/". Reported-by: member graysky <graysky@archlinux.us> (https://bugs.archlinux.org/task/37330) Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'systemd/mdadm-grow-continue@.service')
-rw-r--r--systemd/mdadm-grow-continue@.service2
1 files changed, 1 insertions, 1 deletions
diff --git a/systemd/mdadm-grow-continue@.service b/systemd/mdadm-grow-continue@.service
index 314a4fa0..5c667d2a 100644
--- a/systemd/mdadm-grow-continue@.service
+++ b/systemd/mdadm-grow-continue@.service
@@ -10,7 +10,7 @@ Description=Manage MD Reshape on /dev/%I
DefaultDependencies=no
[Service]
-ExecStart=/sbin/mdadm --grow --continue /dev/%I
+ExecStart=BINDIR/mdadm --grow --continue /dev/%I
StandardInput=null
StandardOutput=null
StandardError=null