SPECS: monit-rc-DAC960.spec (NEW) - added
aredridel
aredridel at pld-linux.org
Fri Nov 3 00:41:32 CET 2006
Author: aredridel Date: Thu Nov 2 23:41:32 2006 GMT
Module: SPECS Tag: HEAD
---- Log message:
- added
---- Files affected:
SPECS:
monit-rc-DAC960.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SPECS/monit-rc-DAC960.spec
diff -u /dev/null SPECS/monit-rc-DAC960.spec:1.1
--- /dev/null Fri Nov 3 00:41:32 2006
+++ SPECS/monit-rc-DAC960.spec Fri Nov 3 00:41:27 2006
@@ -0,0 +1,49 @@
+# $Revision$, $Date$
+#
+Summary: monitrc file for monitoring DAC960 status
+Name: monit-rc-DAC960
+Version: 3
+Release: 1
+License: GPL
+Group: Applications
+Source0: DAC960.monitrc
+Requires: monit
+BuildArch: noarch
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+monitrc file for monitoring DAC960 status.
+
+%prep
+%setup -q -c
+
+%build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_sysconfdir}/monit
+install %{SOURCE0} $RPM_BUILD_ROOT%{_sysconfdir}/monit/
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post
+%service monit restart
+
+%postun
+%service monit restart
+
+
+%files
+%defattr(644,root,root,755)
+%{_sysconfdir}/monit/*.monitrc
+
+%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1 2006/11/02 23:41:27 aredridel
+- added
+
================================================================
More information about the pld-cvs-commit
mailing list