2 |
Summary: Process monitor and restart utility |
Summary: Process monitor and restart utility |
3 |
Version: 3.3 |
Version: 3.3 |
4 |
Release: 1 |
Release: 1 |
5 |
Source: http://www.tildeslash.com/monit/dist/%{name}-%{version}.tar.gz |
Source0: http://www.tildeslash.com/monit/dist/%{name}-%{version}.tar.gz |
6 |
|
Source1: monitrc |
7 |
|
Source2: rc.monit |
8 |
Group: Utilities/Console |
Group: Utilities/Console |
9 |
URL: http://www.tildeslash.com/monit/ |
URL: http://www.tildeslash.com/monit/ |
10 |
BuildRoot: %{_tmppath}/%{name}-buildroot |
BuildRoot: %{_tmppath}/%{name}-buildroot |
30 |
make BINDIR=%{buildroot}/%{_bindir} MANDIR=%{buildroot}/%{_mandir}/man1 install |
make BINDIR=%{buildroot}/%{_bindir} MANDIR=%{buildroot}/%{_mandir}/man1 install |
31 |
mkdir -p %{buildroot}/etc/init.d |
mkdir -p %{buildroot}/etc/init.d |
32 |
cp %{_sourcedir}/rc.monit %{buildroot}/etc/init.d/%{name} |
cp %{_sourcedir}/rc.monit %{buildroot}/etc/init.d/%{name} |
33 |
cp monitrc %{buildroot}/etc/monit.conf |
cp -p monitrc %{buildroot}/etc/monitrc |
|
chmod 600 %{buildroot}/etc/monit.conf |
|
34 |
|
|
35 |
%post |
%post |
36 |
/sbin/chkconfig --add %{name} |
/sbin/chkconfig --add %{name} |
49 |
%files |
%files |
50 |
%defattr(-,root,root) |
%defattr(-,root,root) |
51 |
%doc CHANGES.txt CONTRIBUTORS COPYING FAQ.txt LICENSE README README.SSL STATUS |
%doc CHANGES.txt CONTRIBUTORS COPYING FAQ.txt LICENSE README README.SSL STATUS |
52 |
%config /etc/%{name}.conf |
%config /etc/monitrc |
53 |
%config /etc/init.d/%{name} |
%config /etc/init.d/%{name} |
54 |
%{_bindir}/%{name} |
%{_bindir}/%{name} |
55 |
%{_mandir}/man1/%{name}.1.gz |
%{_mandir}/man1/%{name}.1.gz |
57 |
%changelog |
%changelog |
58 |
* Wed Mar 07 2003 Martin Pala <martin.pala@iol.cz> |
* Wed Mar 07 2003 Martin Pala <martin.pala@iol.cz> |
59 |
- Upgraded to monit-3.3 |
- Upgraded to monit-3.3 |
60 |
|
- Updated documentation list |
61 |
|
- Changed use of monit.conf file to default monitrc ( => monit could find it ) |
62 |
|
- Added required files to the sources list |
63 |
|
|
64 |
* Wed Jul 10 2002 Rory Toma <rory@digeo.com> |
* Wed Jul 10 2002 Rory Toma <rory@digeo.com> |
65 |
- Upgraded to monit-2.4.3 |
- Upgraded to monit-2.4.3 |