]> git.pld-linux.org Git - packages/apache1.git/blobdiff - apache1.logrotate
- rel 2: build with new webserver virtuals
[packages/apache1.git] / apache1.logrotate
index 2226453c4496f00fe70d2492faab165e110d5533..b6f74c69642c0f3656760aeeaafdf37fe5c26d76 100644 (file)
@@ -1,27 +1,12 @@
-/var/log/httpd/access_log {
-    olddir /var/log/archiv/httpd
-    postrotate
-       /bin/killall -USR1 httpd
-    endscript
-}
-
-/var/log/httpd/agent_log {
-    olddir /var/log/archiv/httpd
-    postrotate
-       /bin/killall -USR1 httpd
-    endscript
-}
-
-/var/log/httpd/error_log {
-    olddir /var/log/archiv/httpd
-    postrotate
-       /bin/killall -USR1 httpd
-    endscript
-}
-
-/var/log/httpd/referer_log {
-    olddir /var/log/archiv/httpd
-    postrotate
-       /bin/killall -USR1 httpd
+/var/log/apache/*access_log
+/var/log/apache/*combined_log
+/var/log/apache/*agent_log
+/var/log/apache/*error_log
+/var/log/apache/*referer_log
+{
+       sharedscripts
+    olddir /var/log/archiv/apache
+    postrotate
+               /etc/rc.d/init.d/apache flush-logs > /dev/null
     endscript
 }
This page took 0.054464 seconds and 4 git commands to generate.