SPECS: lighttpd.spec - add monit config

aredridel aredridel at pld-linux.org
Thu Oct 5 01:32:21 CEST 2006


Author: aredridel                    Date: Wed Oct  4 23:32:21 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- add monit config

---- Files affected:
SPECS:
   lighttpd.spec (1.177 -> 1.178) 

---- Diffs:

================================================================
Index: SPECS/lighttpd.spec
diff -u SPECS/lighttpd.spec:1.177 SPECS/lighttpd.spec:1.178
--- SPECS/lighttpd.spec:1.177	Tue Sep 26 13:36:03 2006
+++ SPECS/lighttpd.spec	Thu Oct  5 01:32:16 2006
@@ -60,6 +60,7 @@
 Source10:	http://gdl.hopto.org/~spider/pldstats/gfx/pld1.png
 # Source10-md5:	486ecec3f6f4fe7f9bf7cee757b864f4
 Source11:	%{name}-pld.html
+Source12:	%{name}.monitrc
 Source100:	%{name}-mod_access.conf
 Source101:	%{name}-mod_accesslog.conf
 Source102:	%{name}-mod_alias.conf
@@ -604,7 +605,7 @@
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{_lighttpddir}/{cgi-bin,html},/etc/{logrotate.d,rc.d/init.d,sysconfig}} \
+install -d $RPM_BUILD_ROOT{%{_lighttpddir}/{cgi-bin,html},/etc/{logrotate.d,rc.d/init.d,sysconfig,monit}} \
 	$RPM_BUILD_ROOT%{_sysconfdir}/{conf,webapps}.d \
 	$RPM_BUILD_ROOT{/var/log/{%{name},archiv/%{name}},/var/run/%{name}}
 
@@ -615,6 +616,7 @@
 install %{SOURCE2} %{SOURCE3} mime.types.conf $RPM_BUILD_ROOT%{_sysconfdir}
 install %{SOURCE4} $RPM_BUILD_ROOT/etc/logrotate.d/%{name}
 install %{SOURCE5} $RPM_BUILD_ROOT/etc/sysconfig/%{name}
+install %{SOURCE12} $RPM_BUILD_ROOT/etc/monit/%{name}.monitrc
 
 rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
 
@@ -788,6 +790,7 @@
 %attr(640,root,lighttpd) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/*.user
 
 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/logrotate.d/%{name}
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/monit/%{name}.monitrc
 %attr(750,root,root) %dir /var/log/archiv/%{name}
 %dir %attr(770,root,lighttpd) /var/log/%{name}
 %dir %attr(770,root,lighttpd) /var/run/%{name}
@@ -988,6 +991,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.178  2006/10/04 23:32:16  aredridel
+- add monit config
+
 Revision 1.177  2006/09/26 11:36:03  glen
 - apr1 patch usable, rel 2
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/lighttpd.spec?r1=1.177&r2=1.178&f=u



More information about the pld-cvs-commit mailing list