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