summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElan Ruusamäe2007-11-22 10:11:57 (GMT)
committercvs2git2012-06-24 12:13:13 (GMT)
commiteb3c8b8a5119e5b2cf6d1fc2f53e1b8b18d938b6 (patch)
tree0443e6a1482a9b1f823cb3a111633715bc636a97
parentbc62416b9925a833f49e12eef91d3e650b90696a (diff)
downloadapache1-mod_ssl-eb3c8b8a5119e5b2cf6d1fc2f53e1b8b18d938b6.zip
apache1-mod_ssl-eb3c8b8a5119e5b2cf6d1fc2f53e1b8b18d938b6.tar.gz
- use sharedscripts and apache logrotate. perhaps this fixes weekly ssl crashes
Changed files: apache1-mod_ssl.logrotate -> 1.4
-rw-r--r--apache1-mod_ssl.logrotate14
1 files changed, 5 insertions, 9 deletions
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
}