SOURCES: apache1-mod_ssl.logrotate - use sharedscripts and apache ...

glen glen at pld-linux.org
Thu Nov 22 11:12:02 CET 2007


Author: glen                         Date: Thu Nov 22 10:12:02 2007 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- use sharedscripts and apache logrotate. perhaps this fixes weekly ssl crashes

---- Files affected:
SOURCES:
   apache1-mod_ssl.logrotate (1.3 -> 1.4) 

---- Diffs:

================================================================
Index: SOURCES/apache1-mod_ssl.logrotate
diff -u SOURCES/apache1-mod_ssl.logrotate:1.3 SOURCES/apache1-mod_ssl.logrotate:1.4
--- SOURCES/apache1-mod_ssl.logrotate:1.3	Mon Apr  2 18:41:07 2007
+++ SOURCES/apache1-mod_ssl.logrotate	Thu Nov 22 11:11:57 2007
@@ -1,13 +1,9 @@
-/var/log/apache/ssl_engine_log {
+/var/log/apache/ssl_engine_log
+/var/log/apache/ssl_request_log
+{
+	sharedscripts
     olddir /var/log/archive/apache
     postrotate
-	/bin/killall -HUP apache
-    endscript
-}
-
-/var/log/apache/ssl_request_log {
-    olddir /var/log/archive/apache
-    postrotate
-	/bin/killall -HUP apache
+		/sbin/service apache flush-logs > /dev/null
     endscript
 }
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SOURCES/apache1-mod_ssl.logrotate?r1=1.3&r2=1.4&f=u



More information about the pld-cvs-commit mailing list