SOURCES: apache.logrotate - rotate rewrite_log too

blues blues at pld-linux.org
Mon Feb 13 13:56:32 CET 2006


Author: blues                        Date: Mon Feb 13 12:56:32 2006 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- rotate rewrite_log too

---- Files affected:
SOURCES:
   apache.logrotate (1.8 -> 1.9) 

---- Diffs:

================================================================
Index: SOURCES/apache.logrotate
diff -u SOURCES/apache.logrotate:1.8 SOURCES/apache.logrotate:1.9
--- SOURCES/apache.logrotate:1.8	Wed Jan  4 08:49:50 2006
+++ SOURCES/apache.logrotate	Mon Feb 13 13:56:27 2006
@@ -29,3 +29,11 @@
 	/etc/rc.d/init.d/httpd graceful > /dev/null 2>&1 || /bin/true
     endscript
 }
+
+/var/log/httpd/*rewrite_log {
+    olddir /var/log/archiv/httpd
+    sharedscripts
+    postrotate
+	/etc/rc.d/init.d/httpd graceful > /dev/null 2>&1 || /bin/true
+    endscript
+}
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SOURCES/apache.logrotate?r1=1.8&r2=1.9&f=u



More information about the pld-cvs-commit mailing list