]> git.pld-linux.org Git - packages/apache1.git/blobdiff - apache1.logrotate
- update to 1.3.39
[packages/apache1.git] / apache1.logrotate
index b18073106b1406cedf282b2fc78bcbe962fd68c3..264baa259ecb49e8330f62cf97666a58f954adb3 100644 (file)
@@ -1,27 +1,12 @@
-/var/log/httpd/access_log {
-    olddir /var/log/archiv/httpd
-    postrotate
-       /etc/rc.d/init.d/httpd graceful > /dev/null 2>&1 || /bin/true
-    endscript
-}
-
-/var/log/httpd/agent_log {
-    olddir /var/log/archiv/httpd
-    postrotate
-       /etc/rc.d/init.d/httpd graceful > /dev/null 2>&1 || /bin/true
-    endscript
-}
-
-/var/log/httpd/error_log {
-    olddir /var/log/archiv/httpd
-    postrotate
-       /etc/rc.d/init.d/httpd graceful > /dev/null 2>&1 || /bin/true
-    endscript
-}
-
-/var/log/httpd/referer_log {
-    olddir /var/log/archiv/httpd
-    postrotate
-       /etc/rc.d/init.d/httpd graceful > /dev/null 2>&1 || /bin/true
+/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/archive/apache
+    postrotate
+               /sbin/service apache flush-logs > /dev/null
     endscript
 }
This page took 0.127742 seconds and 4 git commands to generate.