]> git.pld-linux.org Git - packages/apache1.git/blobdiff - apache1.logrotate
- fixed mod_rewrite (missing include)
[packages/apache1.git] / apache1.logrotate
index 2226453c4496f00fe70d2492faab165e110d5533..05c82300dd53354f81a968d92ded5cd1c2de4d73 100644 (file)
@@ -1,27 +1,27 @@
-/var/log/httpd/access_log {
-    olddir /var/log/archiv/httpd
+/var/log/apache/*access_log {
+    olddir /var/log/archiv/apache
     postrotate
-       /bin/killall -USR1 httpd
+       /etc/rc.d/init.d/apache graceful > /dev/null 2>&1 || /bin/true
     endscript
 }
 
-/var/log/httpd/agent_log {
-    olddir /var/log/archiv/httpd
+/var/log/apache/*agent_log {
+    olddir /var/log/archiv/apache
     postrotate
-       /bin/killall -USR1 httpd
+       /etc/rc.d/init.d/apache graceful > /dev/null 2>&1 || /bin/true
     endscript
 }
 
-/var/log/httpd/error_log {
-    olddir /var/log/archiv/httpd
+/var/log/apache/*error_log {
+    olddir /var/log/archiv/apache
     postrotate
-       /bin/killall -USR1 httpd
+       /etc/rc.d/init.d/apache graceful > /dev/null 2>&1 || /bin/true
     endscript
 }
 
-/var/log/httpd/referer_log {
-    olddir /var/log/archiv/httpd
+/var/log/apache/*referer_log {
+    olddir /var/log/archiv/apache
     postrotate
-       /bin/killall -USR1 httpd
+       /etc/rc.d/init.d/apache graceful > /dev/null 2>&1 || /bin/true
     endscript
 }
This page took 0.059408 seconds and 4 git commands to generate.