From eb3c8b8a5119e5b2cf6d1fc2f53e1b8b18d938b6 Mon Sep 17 00:00:00 2001 From: Elan Ruusamäe Date: Thu, 22 Nov 2007 10:11:57 +0000 Subject: - use sharedscripts and apache logrotate. perhaps this fixes weekly ssl crashes Changed files: apache1-mod_ssl.logrotate -> 1.4 diff --git a/apache1-mod_ssl.logrotate b/apache1-mod_ssl.logrotate index d8961bd..196740c 100644 --- a/apache1-mod_ssl.logrotate +++ b/apache1-mod_ssl.logrotate @@ -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 } -- cgit v0.10.2