- fix mdmonitor initscript (#144717)
This commit is contained in:
parent
56349ff6cf
commit
0312d98d9f
@ -1,7 +1,7 @@
|
||||
Summary: mdadm controls Linux md devices (software RAID arrays)
|
||||
Name: mdadm
|
||||
Version: 1.9.0
|
||||
Release: 2.fc4
|
||||
Release: 3.fc4
|
||||
Source: http://www.cse.unsw.edu.au/~neilb/source/mdadm/mdadm-%{version}.tgz
|
||||
Source1: mdmonitor.init
|
||||
Source2: mdmpd-0.4.tgz
|
||||
@ -77,6 +77,9 @@ fi
|
||||
%attr(0700,root,root) %dir /var/run/mdadm
|
||||
|
||||
%changelog
|
||||
* Wed Apr 27 2005 Jeremy Katz <katzj@redhat.com> - 1.9.0-3.fc4
|
||||
- fix mdmonitor initscript (#144717)
|
||||
|
||||
* Mon Mar 21 2005 Doug Ledford <dledford@redhat.com> 1.9.0-2
|
||||
- Build mdadm.static and mdassemble (static as well) to be used in initrd
|
||||
images
|
||||
|
@ -35,7 +35,7 @@ start ()
|
||||
{
|
||||
ulimit -S -c 0 >/dev/null 2>&1
|
||||
echo -n $"Starting $prog: "
|
||||
daemon --check mdadm \
|
||||
daemon --check mdadm --user=root \
|
||||
"/bin/bash -c \"mdadm --monitor --scan -f > /var/run/mdadm/mdadm.pid\""
|
||||
# hack: wait for mdadm to die, assume success if it doesn't die quickly
|
||||
usleep 100000
|
||||
|
Loading…
Reference in New Issue
Block a user