]> git.pld-linux.org Git - packages/apache1.git/blobdiff - apache.logrotate
- update to 1.3.39
[packages/apache1.git] / apache.logrotate
index 546df72331805f0450cc1d6afc51e738e07f95fb..060a1b8d3f18653b2e87d805179a87d77f0cf044 100644 (file)
@@ -1,27 +1,14 @@
-/var/log/httpd/access_log {
-    olddir /var/log/archive/httpd
-    postrotate
-       /usr/bin/killall -HUP httpd
-    endscript
-}
-
-/var/log/httpd/agent_log {
-    olddir /var/log/archive/httpd
-    postrotate
-       /usr/bin/killall -HUP httpd
-    endscript
-}
-
-/var/log/httpd/error_log {
-    olddir /var/log/archive/httpd
-    postrotate
-       /usr/bin/killall -HUP httpd
-    endscript
-}
-
-/var/log/httpd/referer_log {
-    olddir /var/log/archive/httpd
-    postrotate
-       /usr/bin/killall -HUP httpd
+/var/log/httpd/*access_log
+/var/log/httpd/*combined_log
+/var/log/httpd/*agent_log
+/var/log/httpd/*error_log
+/var/log/httpd/*referer_log
+/var/log/httpd/*request_log
+/var/log/httpd/*rewrite_log
+{
+    olddir /var/log/archive/httpd
+    sharedscripts
+    postrotate
+               /sbin/service httpd flush-logs > /dev/null
     endscript
 }
This page took 0.030733 seconds and 4 git commands to generate.