]> git.ipfire.org Git - thirdparty/mdadm.git/blobdiff - systemd/mdmon@.service
install: use BINDIR consistently to locate mdadm and mdmon
[thirdparty/mdadm.git] / systemd / mdmon@.service
index af0a2a33c80a0b00ddcd91c0918757d7697d4e6a..85a3a7c58b842f2268c5e0da6802209de46a6e1d 100644 (file)
@@ -19,7 +19,7 @@ Environment=IMSM_NO_PLATFORM=1
 # 'takeover'.  As the '--offroot --takeover' don't hurt when
 # not necessary, are are useful with root-on-md in dracut,
 # have them always present.
-ExecStart=/sbin/mdmon --offroot --takeover %I
+ExecStart=BINDIR/mdmon --offroot --takeover %I
 Type=forking
 # Don't set the PIDFile.  It isn't necessary (systemd can work
 # it out) and systemd will remove it when transitioning from