diff options
-rw-r--r-- | apache1-mod_ssl.logrotate | 14 |
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 } |