]> git.pld-linux.org Git - packages/apache1.git/blobdiff - apache1.logrotate
use archive source url
[packages/apache1.git] / apache1.logrotate
index 7c0d9612fb27cf9c0b3f208708e77b05925b67d5..0722e9e90c00c7036984b334bf8ee95c7202dfde 100644 (file)
@@ -1,27 +1,18 @@
-/var/log/apache/access_log {
-    olddir /var/log/archiv/apache
-    postrotate
-       /etc/rc.d/init.d/apache graceful > /dev/null 2>&1 || /bin/true
-    endscript
-}
-
-/var/log/apache/agent_log {
-    olddir /var/log/archiv/apache
-    postrotate
-       /etc/rc.d/init.d/apache graceful > /dev/null 2>&1 || /bin/true
-    endscript
-}
-
-/var/log/apache/error_log {
-    olddir /var/log/archiv/apache
-    postrotate
-       /etc/rc.d/init.d/apache graceful > /dev/null 2>&1 || /bin/true
-    endscript
-}
-
-/var/log/apache/referer_log {
-    olddir /var/log/archiv/apache
-    postrotate
-       /etc/rc.d/init.d/apache graceful > /dev/null 2>&1 || /bin/true
-    endscript
+/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
+/var/log/apache/ssl_engine_log
+/var/log/apache/ssl_request_log
+{
+       daily
+       rotate 28
+       missingok
+       notifempty
+       sharedscripts
+       olddir /var/log/archive/apache
+       postrotate
+               /sbin/service apache flush-logs > /dev/null
+       endscript
 }
This page took 0.078866 seconds and 4 git commands to generate.