From: Sven Hoexter Date: Sun, 16 Oct 2011 13:06:50 +0000 (+0200) Subject: Install the init script as mpt-statusd. X-Git-Tag: 1.2.0-3~8 X-Git-Url: https://git.sven.stormbind.net/?p=sven%2Fmpt-status.git;a=commitdiff_plain;h=788c5fd8d6135b9fa39134677028fdaf3664dc2d Install the init script as mpt-statusd. --- diff --git a/mpt-status.spec b/mpt-status.spec index caece5b..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,14 +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-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