SPECS: libapreq2.spec - apache restart scripts

glen glen at pld-linux.org
Mon Feb 27 14:34:41 CET 2006


Author: glen                         Date: Mon Feb 27 13:34:41 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- apache restart scripts

---- Files affected:
SPECS:
   libapreq2.spec (1.24 -> 1.25) 

---- Diffs:

================================================================
Index: SPECS/libapreq2.spec
diff -u SPECS/libapreq2.spec:1.24 SPECS/libapreq2.spec:1.25
--- SPECS/libapreq2.spec:1.24	Mon Feb 27 14:33:14 2006
+++ SPECS/libapreq2.spec	Mon Feb 27 14:34:36 2006
@@ -132,6 +132,14 @@
 %post	-p /sbin/ldconfig
 %postun	-p /sbin/ldconfig
 
+%post -n apache-mod_%{name}
+%service -q httpd restart
+
+%preun -n apache-mod_%{name}
+if [ "$1" = "0" ]; then
+	%service -q httpd restart
+fi
+
 %files
 %defattr(644,root,root,755)
 %doc CHANGES README
@@ -176,6 +184,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.25  2006/02/27 13:34:36  glen
+- apache restart scripts
+
 Revision 1.24  2006/02/27 13:33:14  glen
 - use apache build system
 - define pdir for perl cleanup
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/libapreq2.spec?r1=1.24&r2=1.25&f=u



More information about the pld-cvs-commit mailing list