X-Git-Url: http://git.sven.stormbind.net/?a=blobdiff_plain;f=mpt-status.spec;h=6b6c5605317e2c73d3b01f8d89bab65fe5ffbf28;hb=1592872da5619aa057182097e9e7c30c556b2cc6;hp=325d9433387c3d2a22a4afeb7857455914b27196;hpb=2a685ed2b155c3727d9635fd68ed78b0172a03c7;p=sven%2Fmpt-status.git diff --git a/mpt-status.spec b/mpt-status.spec index 325d943..6b6c560 100644 --- a/mpt-status.spec +++ b/mpt-status.spec @@ -33,7 +33,7 @@ you to monitor the health and status of your RAID setup. %install %{__rm} -rf %{buildroot} %{__install} -D -m0755 mpt-status %{buildroot}%{_sbindir}/mpt-status -%{__install} -D -m0755 %{SOURCE10} %{buildroot}/%{_sysconfdir}/rc.d/init.d/mpt-status +%{__install} -D -m0755 %{SOURCE10} %{buildroot}/%{_sysconfdir}/rc.d/init.d/mpt-statusd %clean %{__rm} -rf %{buildroot} @@ -42,13 +42,14 @@ you to monitor the health and status of your RAID setup. %defattr(-, root, root, 0755) %doc doc/* %{_sbindir}/mpt-status +%{_sysconfdir}/rc.d/init.d/mpt-statusd %post -/sbin/chkconfig --add mpt-status +/sbin/chkconfig --add mpt-statusd %preun -/sbin/service mpt-status stop > /dev/null 2>&1 -/sbin/chkconfig --del mpt-status +/sbin/service mpt-statusd stop > /dev/null 2>&1 +/sbin/chkconfig --del mpt-statusd %changelog * Sun Oct 16 2011 Sven Hoexter - 1.2.0-3